Skip to content

Commit 555986d

Browse files
committed
Fix some doc typos
1 parent 8c32e31 commit 555986d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ Language
17781778
- [Undeprecate lint `unstable_features` and make use of it in the compiler.](https://github.com/rust-lang/rust/pull/118639/)
17791779
- [Make inductive cycles in coherence ambiguous always.](https://github.com/rust-lang/rust/pull/118649/)
17801780
- [Get rid of type-driven traversal in const-eval interning](https://github.com/rust-lang/rust/pull/119044/),
1781-
only as a [future compatiblity lint](https://github.com/rust-lang/rust/pull/122204) for now.
1781+
only as a [future compatibility lint](https://github.com/rust-lang/rust/pull/122204) for now.
17821782
- [Deny braced macro invocations in let-else.](https://github.com/rust-lang/rust/pull/119062/)
17831783

17841784
<a id="1.77.0-Compiler"></a>

compiler/rustc_next_trait_solver/src/canonicalizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ enum CanonicalizeInputKind {
2727
ParamEnv,
2828
/// When canonicalizing predicates, we don't keep `'static`. If we're
2929
/// currently outside of the trait solver and canonicalize the root goal
30-
/// during HIR typeck, we replace each occurance of a region with a
30+
/// during HIR typeck, we replace each occurrence of a region with a
3131
/// unique region variable. See the comment on `InferCtxt::in_hir_typeck`
3232
/// for more details.
3333
Predicate { is_hir_typeck_root_goal: bool },

0 commit comments

Comments
 (0)