Skip to content

Commit ad4a7cb

Browse files
committed
f Clarify namespace/key format requirments
1 parent 2e27b79 commit ad4a7cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/util/persist.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ pub const SCORER_PERSISTENCE_KEY: &str = "scorer";
5151
/// Implementations of this trait are free to handle them in different ways, as long as
5252
/// per-namespace key uniqueness is asserted.
5353
///
54-
/// Keys and namespaces are required to be valid ASCII strings and the empty namespace (`""`) is
55-
/// assumed to be valid namespace.
54+
/// Keys and namespaces are required to be valid ASCII strings that do not contain control
55+
/// characters, and the empty namespace (`""`) is assumed to be a valid namespace.
5656
pub trait KVStore {
5757
/// A reader as returned by [`Self::read`].
5858
type Reader: io::Read;

0 commit comments

Comments
 (0)