Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mdbook-spec/src/grammar/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ impl Parser<'_> {
xs.push(x);
self.index += 1;
}
_ => bail!(self, "expected 4 uppercase hexidecimal digits after `U+`"),
_ => bail!(self, "expected 4 uppercase hexadecimal digits after `U+`"),
}
}
Ok(ExpressionKind::Unicode(String::from_utf8(xs).unwrap()))
Expand Down
2 changes: 1 addition & 1 deletion src/const_eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ r[const-eval.const-expr.borrows]
>
> ```rust
> // The borrow is of a variable local to the initializer, therefore
> // this place expresssion is transient.
> // this place expression is transient.
> const C: () = { let mut x = 0; _ = &mut x; };
> ```
>
Expand Down
2 changes: 1 addition & 1 deletion src/inline-assembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ r[asm.rules.x86-df]

r[asm.rules.x86-x87]
- On x86, the x87 floating-point register stack must remain unchanged unless all of the `st([0-7])` registers have been marked as clobbered with `out("st(0)") _, out("st(1)") _, ...`.
- If all x87 registers are clobbered then the x87 register stack is guaranteed to be empty upon entering the assembly code. Assembly code must ensure that the x87 register stack is also empty when exiting the asssembly code.
- If all x87 registers are clobbered then the x87 register stack is guaranteed to be empty upon entering the assembly code. Assembly code must ensure that the x87 register stack is also empty when exiting the assembly code.

```rust
# #[cfg(target_arch = "x86_64")]
Expand Down
8 changes: 4 additions & 4 deletions theme/reference.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--alert-warning-color: #9a6700;
--alert-edition-color: #1a7f37;
--alert-example-color: #8250df;
--gramar-literal-bg: #fafafa;
--grammar-literal-bg: #fafafa;
}
.rust {
--alert-note-color: #023b95;
Expand All @@ -40,7 +40,7 @@
--alert-warning-color: #f0b72f;
--alert-edition-color: #2bd853;
--alert-example-color: #d3abff;
--gramar-literal-bg: #191f26;
--grammar-literal-bg: #191f26;
}
.coal, .navy, .ayu {
--grammar-comment-color: lch(from var(--quote-bg) calc(l + 50) 0 0);
Expand Down Expand Up @@ -260,7 +260,7 @@ dfn {
padding-left: 0;
padding-right: 0;
}
/* required to accomodate above, somehow... */
/* required to accommodate above, somehow... */
#menu-bar {
margin-left: 0;
}
Expand Down Expand Up @@ -315,7 +315,7 @@ hr {
}

/* This is quite dumb, ugh.
CSS doesn't allow margin colapsing between grid items and anything else
CSS doesn't allow margin collapsing between grid items and anything else
(src: <https://stackoverflow.com/a/37837971>), which means that the margins
of li's children are not collapsed with ul's margins, adding too much margins.

Expand Down