Skip to content

Commit 4bf7312

Browse files
committed
utils: Drop unnecessary lint allow
This function doesn't use unsafe anymore. Signed-off-by: Colin Walters <[email protected]>
1 parent af550f7 commit 4bf7312

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/src/utils.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub(crate) fn sysroot_fd(sysroot: &ostree::Sysroot) -> BorrowedFd {
3131

3232
// Return a cap-std `Dir` type for a deployment.
3333
// TODO: in the future this should perhaps actually mount via composefs
34-
#[allow(unsafe_code)]
3534
pub(crate) fn deployment_fd(
3635
sysroot: &ostree::Sysroot,
3736
deployment: &ostree::Deployment,

0 commit comments

Comments
 (0)