Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed Aug 26, 2024
1 parent bc42967 commit db0ff1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/trie/trie/src/prefix_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub struct TriePrefixSets {
/// ```
#[derive(Clone, Default, Debug)]
pub struct PrefixSetMut {
/// Flag indicating that all entries should be considered changed.
/// Flag indicating that any entry should be considered changed.
/// If set, the keys will be discarded.
all: bool,
keys: Vec<Nibbles>,
Expand Down Expand Up @@ -155,8 +155,9 @@ impl PrefixSetMut {
/// See also [`PrefixSetMut::freeze`].
#[derive(Debug, Default, Clone)]
pub struct PrefixSet {
index: usize,
/// Flag indicating that any entry should be considered changed.
all: bool,
index: usize,
keys: Arc<Vec<Nibbles>>,
}

Expand Down

0 comments on commit db0ff1e

Please sign in to comment.