Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit bfce8b4

Browse files
kw217tgross35
authored andcommitted
Fix trivial typo
"And" should be "An" - one instance.
1 parent 3ee45cd commit bfce8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc-dev-guide/src/mir/index.md

Lines changed: 1 addition & 1 deletion
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)