Skip to content

Commit

Permalink
doc: fix clippy 1.80 doc-comment warning
Browse files Browse the repository at this point in the history
fixes some indentation warnings that are new in clippy 1.80
  • Loading branch information
dan-da committed Jul 30, 2024
1 parent 7ec9693 commit a111926
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/bin/neptune-dashboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
///
/// This is a very simple example:
/// * A input box always focused. Every character you type is registered
/// here
/// here
/// * Pressing Backspace erases a character
/// * Pressing Enter pushes the current input in the history of previous
/// messages
/// messages
///
use anyhow::{bail, Result};
use clap::Parser;
Expand Down
12 changes: 6 additions & 6 deletions src/util_types/mutator_set/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ pub fn indices_to_hash_map(all_indices: &[u128; NUM_TRIALS as usize]) -> HashMap
///
/// Returns:
/// - 0: A hash set of indices, showing which indices are into the chunk dictionaries
/// which have modified chunks.
/// which have modified chunks.
/// - 1: A list of (old membership proof, new digest) where the membership proof
/// is how it looks before applying the removal record, and the digest is how
/// it looks after applying the removal record.
/// is how it looks before applying the removal record, and the digest is how
/// it looks after applying the removal record.
///
/// This function updates the chunks that are present in the `chunk_dictionaries`
/// input argument, but not the associated membership proofs. That must be handled
Expand Down Expand Up @@ -139,10 +139,10 @@ pub fn get_batch_mutation_argument_for_removal_record(
///
/// Returns:
/// - 0: A hash set of indices, showing which indices are into the chunk dictionaries
/// which have modified chunks.
/// which have modified chunks.
/// - 1: A list of (old membership proof, new digest) where the membership proof
/// is how it looks before applying the removal record, and the digest is how
/// it looks after applying the removal record.
/// is how it looks before applying the removal record, and the digest is how
/// it looks after applying the removal record.
///
/// This function updates the chunks that are present in the `chunk_dictionaries`
/// input argument.
Expand Down

0 comments on commit a111926

Please sign in to comment.