Skip to content

Commit 92f8442

Browse files
committed
ignore more things
1 parent 640cf59 commit 92f8442

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/doc/rustdoc/src/the-doc-attribute.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ they are documented.
107107
These attributes are used on `use` statements, and control where the documentation shows
108108
up. For example, consider this Rust code:
109109

110-
```rust
110+
```rust,ignore
111111
pub use bar::Bar;
112112
113113
/// bar docs
@@ -132,7 +132,7 @@ top level, rather than `pub use`'d.
132132

133133
Let's change our original example, by making `bar` private:
134134

135-
```rust
135+
```rust,ignore
136136
pub use bar::Bar;
137137
138138
/// bar docs
@@ -147,7 +147,7 @@ to link to. `rustdoc` will inline these definitions, and so we end up in the sam
147147
as the `#[doc(inline)]` above; `Bar` is in a `Structs` section, as if it were defined at
148148
the top level. If we add the `no_inline` form of the attribute:
149149

150-
```rust
150+
```rust,ignore
151151
#[doc(no_inline)]
152152
pub use bar::Bar;
153153
@@ -169,4 +169,4 @@ the `strip-hidden` pass is removed.
169169

170170
Since primitive types are defined in the compiler, there's no place to attach documentation
171171
attributes. This attribute is used by the standard library to provide a way to generate
172-
documentation for primitive types.
172+
documentation for primitive types.

0 commit comments

Comments
 (0)