diff --git a/riscv-semihosting/CHANGELOG.md b/riscv-semihosting/CHANGELOG.md index 17351113..a4ef0e74 100644 --- a/riscv-semihosting/CHANGELOG.md +++ b/riscv-semihosting/CHANGELOG.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Made `cfg` variable selection more robust for custom targets - Fixed debug::exit() on riscv64 QEMU simulation +- Fixed an ambiguous link in the generated crate documentation. ## [v0.1.0] - 2023-01-18 diff --git a/riscv-semihosting/src/lib.rs b/riscv-semihosting/src/lib.rs index 5a413ff9..c7c1968f 100644 --- a/riscv-semihosting/src/lib.rs +++ b/riscv-semihosting/src/lib.rs @@ -209,7 +209,7 @@ pub unsafe fn syscall(nr: usize, arg: &T) -> usize { /// /// # Safety /// -/// Same as [`syscall`]. +/// Same as [`syscall()`]. #[inline(always)] pub unsafe fn syscall1(_nr: usize, _arg: usize) -> usize { match () {