diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-07-18 01:12:36 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-07-22 18:19:15 -0400 |
| commit | 792de8e49fa8a3c04bfb747adadf71572d753055 (patch) | |
| tree | 98b1c0f92a35d91dafc2dd7b56b32260a3d2b6d9 /src/umask.rs | |
| parent | a5df5a88400e64ea752c396bfbea868df2f3f714 (diff) | |
Remove `pilcrow::cli::Error` from the lib crate's public interface.
This might be the pettiest rude change I've ever made to a Rust program. If I saw this - or did this - in code _intend_ to be used as a library, I'd be appalled.
Diffstat (limited to 'src/umask.rs')
| -rw-r--r-- | src/umask.rs | 4 |
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")] |
