Skip to content

Commit df967a6

Browse files
Skip [] in docs
While working on the peripheral stuff, `cargo doc` kept raising a warning with this macro, as it attempted to find a reference in the crate. This PR fix it
1 parent ba5c811 commit df967a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ instruction!(
6969
/// visible to all RISC-V harts, the writing hart also has to execute a data FENCE before
7070
/// requesting that all remote RISC-V harts execute a FENCE.I.
7171
///
72-
/// The unused fields in the FENCE.I instruction, imm[11:0], rs1, and rd, are reserved for
72+
/// The unused fields in the FENCE.I instruction, imm\[11:0\], rs1, and rd, are reserved for
7373
/// finer-grain fences in future extensions. For forward compatibility, base
7474
/// implementations shall ignore these fields, and standard software shall zero these fields.
7575
, fence_i, "fence.i");

0 commit comments

Comments
 (0)