From ef150436118d5dfeae7a3be384b218994a8b9fa4 Mon Sep 17 00:00:00 2001 From: Bradley Odell Date: Wed, 14 Feb 2024 10:15:31 -0800 Subject: [PATCH] Update function name and docs. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2bf866a..13fbfb3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -100,8 +100,8 @@ impl Verbosity { } /// 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 }