Skip to content

Commit

Permalink
Update function name and docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
BTOdell committed Feb 14, 2024
1 parent 2fc7470 commit ef15043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ impl<L: LogLevel> Verbosity<L> {
}

/// Whether any verbosity flags (either `--verbose` or `--quiet`)
/// have been specified on the command line.
pub fn is_set(&self) -> bool {
/// are present on the command line.
pub fn is_present(&self) -> bool {
self.verbose != 0 || self.quiet != 0
}

Expand Down

0 comments on commit ef15043

Please sign in to comment.