We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9116999 commit d621359Copy full SHA for d621359
tokio/src/fs/open_options.rs
@@ -394,6 +394,7 @@ impl OpenOptions {
394
}
395
396
/// Returns a mutable reference to the underlying `std::fs::OpenOptions`
397
+ #[cfg(any(windows, unix))]
398
pub(super) fn as_inner_mut(&mut self) -> &mut StdOpenOptions {
399
&mut self.0
400
tokio/src/macros/cfg.rs
@@ -97,7 +97,6 @@ macro_rules! cfg_fs {
97
($($item:item)*) => {
98
$(
99
#[cfg(feature = "fs")]
100
- #[cfg(not(target_os = "wasi"))]
101
#[cfg_attr(docsrs, doc(cfg(feature = "fs")))]
102
$item
103
)*
0 commit comments