Commit 3a43e1f
committed
riscv-semihosting: fix ambiguous documentation link
Fix the following warning when generating the crate documentation:
warning: `syscall` is both a function and a macro
--> riscv-semihosting/src/lib.rs:212:15
|
212 | /// Same as [`syscall`].
| ^^^^^^^ ambiguous link
|
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
help: to link to the function, add parentheses
|
212 | /// Same as [`syscall()`].
| ++
help: to link to the macro, add an exclamation mark
|
212 | /// Same as [`syscall!`].
| +1 parent 5612138 commit 3a43e1f
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
0 commit comments