X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Ferrors.rs;h=ddcc693b3398e969b364c89b4ee4a73684d33153;hb=11594c37a13a1b39833c5335e91ac567de147724;hp=f67621c828ca521f4739d99ec5a54760310cb1a8;hpb=879e309c128e2e2980846bfbb9a80a4c2bf8cbb4;p=rust-lightning diff --git a/lightning/src/util/errors.rs b/lightning/src/util/errors.rs index f67621c8..ddcc693b 100644 --- a/lightning/src/util/errors.rs +++ b/lightning/src/util/errors.rs @@ -9,7 +9,8 @@ //! Error types live here. -use std::fmt; +use alloc::string::String; +use core::fmt; /// Indicates an error on the client's part (usually some variant of attempting to use too-low or /// too-high values)