Commit c6b24ca
committed
Fix rustdoc::broken_intra_doc_links warning
```
error: unresolved link to `Box`
--> futures-util/src/future/always_ready.rs:43:83
|
43 | /// This is particularly useful in avoiding a heap allocation when an API needs [`Box<dyn Future<Output = T>>`],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `Box` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
= note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]`
error: unresolved link to `stream.take`
--> futures-util/src/stream/repeat_with.rs:43:7
|
43 | /// [`stream.take()`], in order to make them finite.
| ^^^^^^^^^^^^^ no item named `stream.take` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
error: unresolved link to `stream.repeat`
--> futures-util/src/stream/repeat_with.rs:47:11
|
47 | /// the [`stream.repeat()`] function.
| ^^^^^^^^^^^^^^^ no item named `stream.repeat` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
error: unresolved link to `futures-util::stream::select`
--> futures-util/src/stream/select_with_strategy.rs:120:46
|
120 | /// Note: this special case is provided by [`futures-util::stream::select`].
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `futures-util` in scope
```1 parent e40bd05 commit c6b24ca
File tree
3 files changed
+4
-4
lines changed- futures-util/src
- future
- stream
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments