Skip to content

Commit 972f8c8

Browse files
committed
bump typos and fix new issues
1 parent bc16711 commit 972f8c8

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: check typos
1818
# sync version with src/tools/tidy/src/ext_tool_checks.rs
19-
uses: crate-ci/typos@v1.28.2
19+
uses: crate-ci/typos@v1.29.4
2020
with:
2121
# sync target files with src/tools/tidy/src/ext_tool_checks.rs
2222
files: ./compiler ./library ./src/bootstrap ./src/librustdoc

compiler/rustc_hir/src/hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3762,7 +3762,7 @@ impl fmt::Display for Constness {
37623762
}
37633763
}
37643764

3765-
/// The actualy safety specified in syntax. We may treat
3765+
/// The actually safety specified in syntax. We may treat
37663766
/// its safety different within the type system to create a
37673767
/// "sound by default" system that needs checking this enum
37683768
/// explicitly to allow unsafe operations.

compiler/rustc_middle/src/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ pub struct Body<'tcx> {
258258
/// us to see the difference and forego optimization on the inlined promoted items.
259259
pub phase: MirPhase,
260260

261-
/// How many passses we have executed since starting the current phase. Used for debug output.
261+
/// How many passes we have executed since starting the current phase. Used for debug output.
262262
pub pass_count: usize,
263263

264264
pub source: MirSource<'tcx>,

src/tools/tidy/src/ext_tool_checks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ fn spellcheck_runner(args: &[&str]) -> Result<(), Error> {
485485
"typos",
486486
"spellcheck file checks",
487487
// sync version with .github/workflows/ci.yml
488-
Some("install tool via `cargo install typos-cli@1.28.2`".to_owned()),
488+
Some("install tool via `cargo install typos-cli@1.29.4`".to_owned()),
489489
));
490490
}
491491
Err(e) => return Err(e.into()),

typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ extend-ignore-re = [
6868
"\"core::iter::adapters::Copie\"",
6969
"-Ccontrol-flow-guard",
7070
"concat!\\(\"CURRENT_RUSTC_VERSIO\", \"N\"\\)",
71+
"\\*\\*v\\*\\*ariable"
7172
]

0 commit comments

Comments
 (0)