summaryrefslogtreecommitdiff
path: root/src/mount/bsd.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-09-18 21:07:00 -0600
committerAlan Somers <asomers@gmail.com>2021-09-19 07:58:15 -0600
commita09b1c8ac643d448db479a108ac6726307075453 (patch)
tree654a84d639d1feca971396f958f7589fc1fb81bf /src/mount/bsd.rs
parentf0d6d0406d8e763619aecac062d1d2b56ca6e7b2 (diff)
downloadnix-a09b1c8ac643d448db479a108ac6726307075453.zip
Clippy cleanup
And this time, start running Clippy in CI
Diffstat (limited to 'src/mount/bsd.rs')
-rw-r--r--src/mount/bsd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/bsd.rs b/src/mount/bsd.rs
index 9913fc20..23331a0a 100644
--- a/src/mount/bsd.rs
+++ b/src/mount/bsd.rs
@@ -383,7 +383,7 @@ impl<'a> Nmount<'a> {
Some(CStr::from_bytes_with_nul(sl).unwrap())
}
};
- Err(NmountError::new(error.into(), errmsg))
+ Err(NmountError::new(error, errmsg))
}
}
}