We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c90b8 commit eb3906bCopy full SHA for eb3906b
library/std/src/sys/unix/fs.rs
@@ -963,7 +963,7 @@ pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
963
Ok(())
964
}
965
966
-pub fn get_openopetions_as_cint(from: OpenOptions) -> io::Result<libc::c_int> {
+pub fn get_openoptions_as_cint(from: OpenOptions) -> io::Result<libc::c_int> {
967
let access_mode = from.get_access_mode()?;
968
let creation_mode = from.get_creation_mode()?;
969
Ok(creation_mode | access_mode)
0 commit comments