Skip to content

Commit 1844266

Browse files
docs: Fix warnings and typos.
* Fix typo in HTML tag * Mark some things with backticks to fix warnings about unescaped square brackets. * Spell "initialize" correctly to fix typos.
1 parent c5b0076 commit 1844266

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

crates/intrinsic-test/src/argument.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ impl ArgumentList {
173173
.join("\n")
174174
}
175175

176-
/// Creates a line for each argument that initalizes the argument from an array [arg]_vals at
177-
/// an offset i using a load intrinsic, in C.
176+
/// Creates a line for each argument that initializes the argument from an array `[arg]_vals` at
177+
/// an offset `i` using a load intrinsic, in C.
178178
/// e.g `uint8x8_t a = vld1_u8(&a_vals[i]);`
179179
pub fn load_values_c(&self, p64_armv7_workaround: bool) -> String {
180180
self.iter()
@@ -214,8 +214,8 @@ impl ArgumentList {
214214
.join("\n ")
215215
}
216216

217-
/// Creates a line for each argument that initalizes the argument from array [ARG]_VALS at
218-
/// an offset i using a load intrinsic, in Rust.
217+
/// Creates a line for each argument that initializes the argument from array `[ARG]_VALS` at
218+
/// an offset `i` using a load intrinsic, in Rust.
219219
/// e.g `let a = vld1_u8(A_VALS.as_ptr().offset(i));`
220220
pub fn load_values_rust(&self) -> String {
221221
self.iter()

examples/connect5.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ fn check_patterndead4(pos: &Pos, sd: Side) -> i32 {
851851
n
852852
}
853853

854-
/// Check <b>-OOO-, -OO-O-, -O-OO-</br>
854+
/// Check <b>-OOO-, -OO-O-, -O-OO-</b>
855855
fn check_patternlive3(pos: &Pos, sd: Side) -> i32 {
856856
let mut n: i32 = 0;
857857

0 commit comments

Comments
 (0)