Skip to content
/ rust Public
forked from rust-lang/rust

Commit 299a6c8

Browse files
kw217tgross35
authored andcommitted
Fix trivial typo
"And" should be "An" - one instance.
1 parent ca3ae30 commit 299a6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mir/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ similarly, in `x + 2`, `2` is a MIR constant. Type system constants are used in
262262
the type system, in particular for array lengths but also for const generics.
263263

264264
Generally, both kinds of constants can be "unevaluated" or "already evaluated".
265-
And unevaluated constant simply stores the `DefId` of what needs to be evaluated
265+
An unevaluated constant simply stores the `DefId` of what needs to be evaluated
266266
to compute this result. An evaluated constant (a "value") has already been
267267
computed; their representation differs between type system constants and MIR
268268
constants: MIR constants evaluate to a `mir::ConstValue`; type system constants

0 commit comments

Comments
 (0)