Commit d1eccc2
committed
Fix rustdoc warning
```
warning: `crate::task::panic_waker` is both a module and a function
--> futures-test/src/task/mod.rs:26:23
|
26 | //! - [`panic_waker`](crate::task::panic_waker) creates a waker that panics when
| ^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous link
|
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
help: to link to the module, prefix with `mod@`
|
26 | //! - [`panic_waker`](mod@crate::task::panic_waker) creates a waker that panics when
| ++++
help: to link to the function, add parentheses
|
26 | //! - [`panic_waker`](crate::task::panic_waker()) creates a waker that panics when
| ++
```1 parent dfeda15 commit d1eccc2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments