aboutsummaryrefslogtreecommitdiff
path: root/src/fs/open_options.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/open_options.rs')
-rw-r--r--src/fs/open_options.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/open_options.rs b/src/fs/open_options.rs
index ba3d9a6..acd99a1 100644
--- a/src/fs/open_options.rs
+++ b/src/fs/open_options.rs
@@ -383,8 +383,7 @@ impl OpenOptions {
Ok(File::from_std(std))
}
- /// Returns a mutable reference to the the underlying std::fs::OpenOptions
- #[cfg(unix)]
+ /// Returns a mutable reference to the underlying `std::fs::OpenOptions`
pub(super) fn as_inner_mut(&mut self) -> &mut std::fs::OpenOptions {
&mut self.0
}