Skip to content

Commit 051382a

Browse files
committed
fix: ignore code examples in doc
1 parent 26b30d3 commit 051382a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/meta/doc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Below are a few examples of the most common `#[doc]` attributes used with `rustd
7373

7474
Used to inline docs, instead of linking out to separate page.
7575

76-
```rust
76+
```rust,ignore
7777
#[doc(inline)]
7878
pub use bar::Bar;
7979
@@ -88,7 +88,7 @@ mod bar {
8888

8989
Used to prevent linking out to separate page or anywhere.
9090

91-
```rust
91+
```rust,ignore
9292
// Example from libcore/prelude
9393
#[doc(no_inline)]
9494
pub use crate::mem::drop;
@@ -98,7 +98,7 @@ pub use crate::mem::drop;
9898

9999
Using this tells `rustdoc` not to include this in documentation:
100100

101-
```rust,editable
101+
```rust,editable,ignore
102102
// Example from the futures-rs library
103103
#[doc(hidden)]
104104
pub use self::async_await::*;

0 commit comments

Comments
 (0)