Skip to content

Commit eb3906b

Browse files
Fix typo get openoptions function name
Co-authored-by: Ivan Tham <pickfire@riseup.net>
1 parent 27c90b8 commit eb3906b

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/unix/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
963963
Ok(())
964964
}
965965

966-
pub fn get_openopetions_as_cint(from: OpenOptions) -> io::Result<libc::c_int> {
966+
pub fn get_openoptions_as_cint(from: OpenOptions) -> io::Result<libc::c_int> {
967967
let access_mode = from.get_access_mode()?;
968968
let creation_mode = from.get_creation_mode()?;
969969
Ok(creation_mode | access_mode)

0 commit comments

Comments
 (0)