Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riscv-semihosting: fix ambiguous documentation link #224

Merged
merged 1 commit into from
Aug 13, 2024

Commits on Aug 1, 2024

  1. 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!`].
        |                      +
    00xc committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3a43e1f View commit details
    Browse the repository at this point in the history