Skip to content

Commit

Permalink
Add more doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dmerejkowsky committed Mar 8, 2024
1 parent 6cb02f6 commit 67a77a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ fn on_type_list() {
}
}

/// Main entry point
pub fn run() -> Result<()> {
// PATTERN and REPLACEMENT are always required, except
// when --type-list is used
Expand Down
1 change: 1 addition & 0 deletions src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use colored::*;
use crate::{replacer::Fragment, Replacement};

#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
/// Control how much information ruplacer prints to standard output
pub enum Verbosity {
Quiet,
#[default]
Expand Down

0 comments on commit 67a77a7

Please sign in to comment.