We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53ffec commit 0ee7b7fCopy full SHA for 0ee7b7f
lightning/src/util/ser.rs
@@ -268,7 +268,7 @@ impl<T: Readable> Readable for OptionDeserWrapper<T> {
268
}
269
/// When handling default_values, we want to map the default-value T directly
270
/// to a OptionDeserWrapper<T> in a way that works for `field: T = t;` as
271
-/// well. Thus, we use assume `Into<T> for T` does nothing and use that.
+/// well. Thus, we assume `Into<T> for T` does nothing and use that.
272
impl<T: Readable> From<T> for OptionDeserWrapper<T> {
273
fn from(t: T) -> OptionDeserWrapper<T> { OptionDeserWrapper(Some(t)) }
274
0 commit comments