Skip to content

Commit a9f6ecc

Browse files
committed
Deprecate the lightning::util::string re-export from types
Like we've done for `features` and `payment`, here we mark the `lightning::util::string` re-export as deprecated.
1 parent 7dd20a9 commit a9f6ecc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/util/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@ pub mod test_channel_signer;
5656

5757
pub mod string {
5858
//! Utilities to wrap untrusted strings and handle them (more) safely
59+
//!
60+
//! These re-exports are deprecated in favor of [`lightning::types::string`].
5961
pub use lightning_types::string::{PrintableString, UntrustedString};
6062
}

0 commit comments

Comments
 (0)