summaryrefslogtreecommitdiff
path: root/src/umask.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/umask.rs')
-rw-r--r--src/umask.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/umask.rs b/src/umask.rs
index 32a82ad..6aef33a 100644
--- a/src/umask.rs
+++ b/src/umask.rs
@@ -100,15 +100,11 @@ impl fmt::Display for Umask {
}
}
-/// Errors occurring during umask option parsing.
#[derive(Debug, thiserror::Error)]
pub enum Error {
- /// Failed to parse a umask value from the input.
#[error(transparent)]
Parse(#[from] std::num::ParseIntError),
- /// The provided umask contained invalid bits. (See the constants associated with [`Mode`] for
- /// valid umask bits.)
// We dont need to hold onto the actual umask value here - Clap does that for us, and prints
// the value as the user input it, which beats anything we could do here.
#[error("unknown bits in umask")]