Skip to content

Commit 06ef608

Browse files
authored
Merge pull request #2032 from epage/spelling
fix(css): Correctly specify grammar-literal-bg
2 parents 8efb980 + eb82423 commit 06ef608

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

mdbook-spec/src/grammar/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl Parser<'_> {
382382
xs.push(x);
383383
self.index += 1;
384384
}
385-
_ => bail!(self, "expected 4 uppercase hexidecimal digits after `U+`"),
385+
_ => bail!(self, "expected 4 uppercase hexadecimal digits after `U+`"),
386386
}
387387
}
388388
Ok(ExpressionKind::Unicode(String::from_utf8(xs).unwrap()))

src/const_eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ r[const-eval.const-expr.borrows]
150150
>
151151
> ```rust
152152
> // The borrow is of a variable local to the initializer, therefore
153-
> // this place expresssion is transient.
153+
> // this place expression is transient.
154154
> const C: () = { let mut x = 0; _ = &mut x; };
155155
> ```
156156
>

src/inline-assembly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ r[asm.rules.x86-df]
13551355

13561356
r[asm.rules.x86-x87]
13571357
- 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)") _, ...`.
1358-
- 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.
1358+
- 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.
13591359

13601360
```rust
13611361
# #[cfg(target_arch = "x86_64")]

theme/reference.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
--alert-warning-color: #9a6700;
1616
--alert-edition-color: #1a7f37;
1717
--alert-example-color: #8250df;
18-
--gramar-literal-bg: #fafafa;
18+
--grammar-literal-bg: #fafafa;
1919
}
2020
.rust {
2121
--alert-note-color: #023b95;
@@ -40,7 +40,7 @@
4040
--alert-warning-color: #f0b72f;
4141
--alert-edition-color: #2bd853;
4242
--alert-example-color: #d3abff;
43-
--gramar-literal-bg: #191f26;
43+
--grammar-literal-bg: #191f26;
4444
}
4545
.coal, .navy, .ayu {
4646
--grammar-comment-color: lch(from var(--quote-bg) calc(l + 50) 0 0);
@@ -260,7 +260,7 @@ dfn {
260260
padding-left: 0;
261261
padding-right: 0;
262262
}
263-
/* required to accomodate above, somehow... */
263+
/* required to accommodate above, somehow... */
264264
#menu-bar {
265265
margin-left: 0;
266266
}
@@ -315,7 +315,7 @@ hr {
315315
}
316316

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

0 commit comments

Comments
 (0)