Skip to content

chore: fix some typos #134957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2024
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 tests/rustdoc-ui/doctest/non-local-defs-impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// }
/// ```
///
/// But this shoudln't produce a warning:
/// But this shouldn't produce a warning:
/// ```rust,no_run
/// # extern crate pub_trait;
/// # use pub_trait::Trait;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/closures/2229_closure_analysis/issue-118144.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn func(func_arg: &mut V) {
|| {
// Declaring `x` separately instead of using
// a destructuring binding like `let V(x) = ...`
// becaue only `V(x) = ...` triggers the ICE
// because only `V(x) = ...` triggers the ICE
let x;
V(x) = func_arg; //~ ERROR: mismatched types
func_arg.0 = 0;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/coroutine/issue-53548.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// to process this `'r` region bound. In particular, to be WF, the
// region bound must meet the requirements of the trait, and hence we
// got `for<'r> { 'r: 'static }`. This would ICE because the `Binder`
// constructor we were using was assering that no higher-ranked
// constructor we were using was asserting that no higher-ranked
// regions were involved (because the WF code is supposed to skip
// those). The error (if debug-asserions were disabled) came because
// we obviously cannot prove that `'r: 'static` for any region `'r`.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/panics/default-backtrace-ice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// `__rust_{begin,end}_short_backtrace` markers, which only appear in full
// backtraces. The rest of the backtrace is filtered out.
//
// Ignored on msvc becaue the `__rust_{begin,end}_short_backtrace` symbols
// Ignored on msvc because the `__rust_{begin,end}_short_backtrace` symbols
// aren't reliable.

fn main() { missing_ident; }
Loading