From fbe632efe6df51d48b99965c61e7361b2db3c620 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 6 Dec 2024 08:34:42 -0500 Subject: [PATCH] lib: One more clippy fix Signed-off-by: Colin Walters --- lib/src/mount.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/mount.rs b/lib/src/mount.rs index 037dbef56..e2bde3fac 100644 --- a/lib/src/mount.rs +++ b/lib/src/mount.rs @@ -163,7 +163,7 @@ pub(crate) fn open_tree_from_pidns( None, ) .context("socketpair")?; - const DUMMY_DATA: &[u8] = &[b'!']; + const DUMMY_DATA: &[u8] = b"!"; match unsafe { libc::fork() } { 0 => { // We're in the child. At this point we know we don't have multiple threads, so we