Skip to content

Commit 4876875

Browse files
committed
filesystem: fix warnings in rust 1.56
Got: warning: this attribute can only be applied to a `use` item --> src/api/filesystem/mod.rs:25:7 | 25 | #[doc(inline)] | ^^^^^^ only applicable on `use` items 26 | mod async_io; | ------------- not a `use` item | = note: `#[warn(invalid_doc_attributes)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #82730 <rust-lang/rust#82730> = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#docno_inlinedocinline for more information This commit would fix this problem. Signed-off-by: Tim Zhang <[email protected]>
1 parent 6fce0d1 commit 4876875

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/api/filesystem/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pub use fuse::SetattrValid;
2222
pub use fuse::ROOT_ID;
2323

2424
#[cfg(feature = "async-io")]
25-
#[doc(inline)]
2625
mod async_io;
2726
#[cfg(feature = "async-io")]
2827
pub use async_io::{AsyncFileSystem, AsyncZeroCopyReader, AsyncZeroCopyWriter};

0 commit comments

Comments
 (0)