Skip to content

Commit 6550bd0

Browse files
committed
cargo fmt
1 parent 26262d6 commit 6550bd0

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+2
-2
lines changed

library/std/src/sys/pal/unix/fd.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ impl FileDesc {
405405
Ok(ret as usize)
406406
}
407407

408-
#[cfg( all(target_os = "android", target_pointer_width = "32"))]
408+
#[cfg(all(target_os = "android", target_pointer_width = "32"))]
409409
pub fn write_vectored_at(&self, bufs: &[IoSlice<'_>], offset: u64) -> io::Result<usize> {
410410
super::weak::weak!(fn pwritev64(libc::c_int, *const libc::iovec, libc::c_int, off64_t) -> isize);
411411

@@ -425,7 +425,7 @@ impl FileDesc {
425425
}
426426
}
427427

428-
// We support old MacOS, iOS, watchOS, tvOS and visionOS versions that do not have `pwritev`.
428+
// We support old MacOS, iOS, watchOS, tvOS and visionOS versions that do not have `pwritev`.
429429
// There is no `syscall` possible in these platform for following apple versions:
430430
// ios 14.0
431431
// tvos 14.0

0 commit comments

Comments
 (0)