From a09b1c8ac643d448db479a108ac6726307075453 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 18 Sep 2021 21:07:00 -0600 Subject: Clippy cleanup And this time, start running Clippy in CI --- src/mount/bsd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mount/bsd.rs') 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)) } } } -- cgit v1.2.3