We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8909830 commit 07cd499Copy full SHA for 07cd499
src/doc/rustdoc/src/advanced-features.md
@@ -47,15 +47,15 @@ all type errors and name resolution errors with function bodies. Note that this
47
work for anything outside a function body: since Rustdoc documents your types, it has to
48
know what those types are! For example, this code will work regardless of the platform:
49
50
-```rust,ignore (platform-specific)
+```rust,ignore (platform-specific,rustdoc-specific-behavior)
51
pub fn f() {
52
use std::os::windows::ffi::OsStrExt;
53
}
54
```
55
56
but this will not, because the unknown type is part of the function signature:
57
58
59
pub fn f() -> std::os::windows::ffi::EncodeWide<'static> {
60
unimplemented!()
61
0 commit comments