chore: remove repetitive words

Signed-off-by: jimmycathy <clonecode@outlook.com>
This commit is contained in:
jimmycathy 2024-05-04 20:54:15 +08:00
parent 9375c1b7ed
commit 3510384f10
3 changed files with 3 additions and 3 deletions

View File

@ -1100,7 +1100,7 @@ fn find_received<
{
// Collect block note commitments
let node = extract_note_commitment(output);
// If the commitment is the last in the block, ensure that is is retained as a checkpoint
// If the commitment is the last in the block, ensure that is retained as a checkpoint
let is_checkpoint = output_idx + 1 == decoded.len() && last_commitments_in_block;
let retention = match (decrypted_note.is_some(), is_checkpoint) {
(is_marked, true) => Retention::Checkpoint {

View File

@ -35,7 +35,7 @@ impl std::fmt::Display for Error {
}
}
/// Reference to to the tree node.
/// Reference to the tree node.
#[repr(C)]
#[derive(Clone, Copy, Debug)]
pub enum EntryLink {

View File

@ -72,7 +72,7 @@ impl<V: Version> Tree<V> {
}
}
/// New view into the the tree array representation
/// New view into the tree array representation
///
/// `length` is total length of the array representation (is generally not a sum of
/// peaks.len + extra.len)