projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert remaining channel inner structs and enums to TLV-based ser
[rust-lightning]
/
lightning
/
src
/
util
/
errors.rs
diff --git
a/lightning/src/util/errors.rs
b/lightning/src/util/errors.rs
index f67621c828ca521f4739d99ec5a54760310cb1a8..ddcc693b3398e969b364c89b4ee4a73684d33153 100644
(file)
--- a/
lightning/src/util/errors.rs
+++ b/
lightning/src/util/errors.rs
@@
-9,7
+9,8
@@
//! Error types live here.
//! 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)
/// Indicates an error on the client's part (usually some variant of attempting to use too-low or
/// too-high values)