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
47
47
work for anything outside a function body: since Rustdoc documents your types, it has to
48
48
know what those types are! For example, this code will work regardless of the platform:
49
49
50
- ``` rust,ignore (platform-specific)
50
+ ``` rust,ignore (platform-specific,rustdoc-specific-behavior )
51
51
pub fn f() {
52
52
use std::os::windows::ffi::OsStrExt;
53
53
}
54
54
```
55
55
56
56
but this will not, because the unknown type is part of the function signature:
57
57
58
- ``` rust,ignore (platform-specific)
58
+ ``` rust,ignore (platform-specific,rustdoc-specific-behavior )
59
59
pub fn f() -> std::os::windows::ffi::EncodeWide<'static> {
60
60
unimplemented!()
61
61
}
You can’t perform that action at this time.
0 commit comments