We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1a2bcd commit 261fcb2Copy full SHA for 261fcb2
src/mount/bsd.rs
@@ -397,7 +397,7 @@ impl<'a> Drop for Nmount<'a> {
397
// Free the owned string. Safe because we recorded ownership,
398
// and Nmount does not implement Clone.
399
unsafe {
400
- CString::from_raw(iov.0.iov_base as *mut c_char);
+ let _ = CString::from_raw(iov.0.iov_base as *mut c_char);
401
}
402
403
0 commit comments