Skip to content

Commit 376755d

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 03af921 commit 376755d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/util/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,9 @@ 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`].
61+
//!
62+
//! [`lightning::types::string`]: crate::types::string
5963
pub use lightning_types::string::{PrintableString, UntrustedString};
6064
}

0 commit comments

Comments
 (0)