Skip to content

Commit 992a650

Browse files
burrbullEmilgardis
andauthored
review fix
Co-authored-by: Emil Gardström <[email protected]>
1 parent a3aa726 commit 992a650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/peripheral.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ fn expand_register(
12411241
let mut accessors = Vec::with_capacity((array_info.dim + 1) as _);
12421242
let first_name = svd::array::names(info, array_info).next().unwrap();
12431243
let note = (array_info.indexes().next().unwrap() != "0").then(||
1244-
format!("<div class=\"warning\">`n` is number of {0} in array. `n == 0` corresponds to `{first_name}` {0}.</div>", "register")
1244+
format!("<div class=\"warning\">`n` is the index of {0} in the array. `n == 0` corresponds to `{first_name}` {0}.</div>", "register")
12451245
);
12461246
accessors.push(
12471247
Accessor::Array(ArrayAccessor {

0 commit comments

Comments
 (0)