Skip to content

Commit f1adfe2

Browse files
committed
bump typos and fix new issues
1 parent 3213585 commit f1adfe2

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.github/workflows/spellcheck.yml

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3926,7 +3926,7 @@ impl fmt::Display for Constness {
39263926
}
39273927
}
39283928

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

compiler/rustc_middle/src/mir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ pub struct Body<'tcx> {
245245
/// us to see the difference and forego optimization on the inlined promoted items.
246246
pub phase: MirPhase,
247247

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

251251
pub source: MirSource<'tcx>,

src/tools/tidy/src/ext_tool_checks.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ fn spellcheck_runner(args: &[&str]) -> Result<(), Error> {
523523
"typos",
524524
"spellcheck file checks",
525525
// sync version with .github/workflows/ci.yml
526-
Some("install tool via `cargo install typos-cli@1.28.2`".to_owned()),
526+
Some("install tool via `cargo install typos-cli@1.29.4`".to_owned()),
527527
));
528528
}
529529
Err(e) => return Err(e.into()),

typos.toml

+1
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)