File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,15 @@ all type errors and name resolution errors with function bodies. Note that this
4747work for anything outside a function body: since Rustdoc documents your types, it has to
4848know what those types are! For example, this code will work regardless of the platform:
4949
50- ``` rust,ignore (platform-specific)
50+ ``` rust,ignore (platform-specific,rustdoc-specific-behavior )
5151pub fn f() {
5252 use std::os::windows::ffi::OsStrExt;
5353}
5454```
5555
5656but this will not, because the unknown type is part of the function signature:
5757
58- ``` rust,ignore (platform-specific)
58+ ``` rust,ignore (platform-specific,rustdoc-specific-behavior )
5959pub fn f() -> std::os::windows::ffi::EncodeWide<'static> {
6060 unimplemented!()
6161}
You can’t perform that action at this time.
0 commit comments