Skip to content

Commit eaf4dbd

Browse files
committed
fix some comment typos
1 parent 34e8e07 commit eaf4dbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_type_ir/src/search_graph/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub enum PathKind {
131131
/// `PathKind::Unknown` during coherence until we're fully confident in
132132
/// our approach.
133133
Inductive,
134-
/// A path which is not be coinductive right now but we may want
134+
/// A path which is not coinductive right now but we may want
135135
/// to change of them to be so in the future. We return an ambiguous
136136
/// result in this case to prevent people from relying on this.
137137
Unknown,

compiler/rustc_type_ir/src/solve/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub enum GoalSource {
7171
/// A nested goal required to prove that types are equal/subtypes.
7272
/// This is always an unproductive step.
7373
///
74-
/// This is also used for all `NormalizesTo` goals as we they are used
74+
/// This is also used for all `NormalizesTo` goals as those are used
7575
/// to relate types in `AliasRelate`.
7676
TypeRelating,
7777
/// We're proving a where-bound of an impl.

0 commit comments

Comments
 (0)