Skip to content

Commit 30e53af

Browse files
committed
bump typos and fix new issues
1 parent e6ce17a commit 30e53af

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
@@ -3927,7 +3927,7 @@ impl fmt::Display for Constness {
39273927
}
39283928
}
39293929

3930-
/// The actualy safety specified in syntax. We may treat
3930+
/// The actually safety specified in syntax. We may treat
39313931
/// its safety different within the type system to create a
39323932
/// "sound by default" system that needs checking this enum
39333933
/// 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
@@ -256,7 +256,7 @@ pub struct Body<'tcx> {
256256
/// us to see the difference and forego optimization on the inlined promoted items.
257257
pub phase: MirPhase,
258258

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

262262
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
@@ -514,7 +514,7 @@ fn spellcheck_runner(args: &[&str]) -> Result<(), Error> {
514514
"typos",
515515
"spellcheck file checks",
516516
// sync version with .github/workflows/ci.yml
517-
Some("install tool via `cargo install typos-cli@1.28.2`".to_owned()),
517+
Some("install tool via `cargo install typos-cli@1.29.4`".to_owned()),
518518
));
519519
}
520520
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)