diff options
Diffstat (limited to 'src/mount/bsd.rs')
-rw-r--r-- | src/mount/bsd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/bsd.rs b/src/mount/bsd.rs index 01449081..f0a9443a 100644 --- a/src/mount/bsd.rs +++ b/src/mount/bsd.rs @@ -111,7 +111,7 @@ impl NmountError { } /// Returns the inner [`Error`] - pub fn error(&self) -> Error { + pub const fn error(&self) -> Error { self.errno } |