Skip to content

Commit 37ddbfb

Browse files
style(multivers-runner): fix clippy warning
1 parent 83135b7 commit 37ddbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multivers-runner/src/build/linux.rs

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl Executable for Build<'_> {
2121
let memfd_name = if argc > 0 {
2222
unsafe { CStr::from_ptr(*argv) }
2323
} else {
24-
unsafe { CStr::from_bytes_with_nul_unchecked(b"\0") }
24+
c""
2525
};
2626
let mut file = memfd_create(memfd_name, MemfdFlags::CLOEXEC)
2727
.map(OwnedFd::into_raw_fd)

0 commit comments

Comments
 (0)