Skip to content

Commit 87db293

Browse files
committed
rust fmt
1 parent dc948ae commit 87db293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fcntl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ pub fn renameat2<P1: ?Sized + NixPath, P2: ?Sized + NixPath, Fd1: std::os::fd::A
487487
new_path.with_nix_path(|new_cstr| unsafe {
488488
// Use raw syscall instead of libc::renameat2 to support musl libc and other
489489
// environments where the libc function may not be available.
490-
//
490+
//
491491
// Syscall numbers from the Linux kernel source:
492492
// https://github.com/torvalds/linux/blob/master/arch/x86/entry/syscalls/syscall_64.tbl
493493
// https://github.com/torvalds/linux/blob/master/arch/arm64/include/asm/unistd32.h
@@ -501,7 +501,7 @@ pub fn renameat2<P1: ?Sized + NixPath, P2: ?Sized + NixPath, Fd1: std::os::fd::A
501501
const SYS_RENAMEAT2: libc::c_long = 382;
502502
#[cfg(target_arch = "riscv64")]
503503
const SYS_RENAMEAT2: libc::c_long = 276;
504-
504+
505505
libc::syscall(
506506
SYS_RENAMEAT2,
507507
old_dirfd.as_fd().as_raw_fd(),

0 commit comments

Comments
 (0)