Merge pull request #1383 from jimmycathy/main

chore: remove repetitive words
This commit is contained in:
Kris Nuttycombe 2024-05-07 09:06:02 -06:00 committed by GitHub
commit c3eace4982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)