Skip to content

Commit

Permalink
docs: Fix warnings and typos.
Browse files Browse the repository at this point in the history
* Fix typo in HTML tag
* Mark some things with backticks to fix warnings about
  unescaped square brackets.
* Spell "initialize" correctly to fix typos.
  • Loading branch information
waywardmonkeys committed Jul 30, 2023
1 parent c5b0076 commit 1844266
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crates/intrinsic-test/src/argument.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ impl ArgumentList {
.join("\n")
}

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

/// Creates a line for each argument that initalizes the argument from array [ARG]_VALS at
/// an offset i using a load intrinsic, in Rust.
/// Creates a line for each argument that initializes the argument from array `[ARG]_VALS` at
/// an offset `i` using a load intrinsic, in Rust.
/// e.g `let a = vld1_u8(A_VALS.as_ptr().offset(i));`
pub fn load_values_rust(&self) -> String {
self.iter()
Expand Down
2 changes: 1 addition & 1 deletion examples/connect5.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ fn check_patterndead4(pos: &Pos, sd: Side) -> i32 {
n
}

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

Expand Down

0 comments on commit 1844266

Please sign in to comment.