diff --git a/zcash_client_backend/src/scanning.rs b/zcash_client_backend/src/scanning.rs index 567528eb3c..78db76aefb 100644 --- a/zcash_client_backend/src/scanning.rs +++ b/zcash_client_backend/src/scanning.rs @@ -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 { diff --git a/zcash_history/src/lib.rs b/zcash_history/src/lib.rs index 60e347803e..deb4867fc0 100644 --- a/zcash_history/src/lib.rs +++ b/zcash_history/src/lib.rs @@ -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 { diff --git a/zcash_history/src/tree.rs b/zcash_history/src/tree.rs index 5d543c7387..8fa13729bc 100644 --- a/zcash_history/src/tree.rs +++ b/zcash_history/src/tree.rs @@ -72,7 +72,7 @@ impl Tree { } } - /// 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)