projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the historical bucket data private to `bucketed_history`
[rust-lightning]
/
lightning
/
src
/
util
/
string.rs
diff --git
a/lightning/src/util/string.rs
b/lightning/src/util/string.rs
index 3e5942f6f04c13b77ceae9401355f86c249bb346..6949c936e00e575ad8b4a848e61ee892a65b3eca 100644
(file)
--- a/
lightning/src/util/string.rs
+++ b/
lightning/src/util/string.rs
@@
-16,7
+16,7
@@
use crate::ln::msgs;
use crate::util::ser::{Writeable, Writer, Readable};
/// Struct to `Display` fields in a safe way using `PrintableString`
use crate::util::ser::{Writeable, Writer, Readable};
/// Struct to `Display` fields in a safe way using `PrintableString`
-#[derive(Clone, Debug, PartialEq, Eq)]
+#[derive(Clone, Debug, PartialEq, Eq
, Hash, PartialOrd, Ord, Default
)]
pub struct UntrustedString(pub String);
impl Writeable for UntrustedString {
pub struct UntrustedString(pub String);
impl Writeable for UntrustedString {