diff options
| author | Keith Wansbrough <keithw@lochan.org> | 2024-11-27 23:27:40 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2024-11-27 18:31:18 -0500 |
| commit | bfce8b4d734ce89bc82659086cfa3909b68bfbb8 (patch) | |
| tree | b8839e22f32f5df57fcb6b07005b98d280666e66 /src/doc/rustc-dev-guide | |
| parent | 3ee45cde9287c4e4689d531898ff033caf38b98b (diff) | |
| download | rust-bfce8b4d734ce89bc82659086cfa3909b68bfbb8.tar.gz rust-bfce8b4d734ce89bc82659086cfa3909b68bfbb8.zip | |
Fix trivial typo
"And" should be "An" - one instance.
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/mir/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/index.md b/src/doc/rustc-dev-guide/src/mir/index.md index 5e78298ad20..ef6f2f51855 100644 --- a/src/doc/rustc-dev-guide/src/mir/index.md +++ b/src/doc/rustc-dev-guide/src/mir/index.md @@ -262,7 +262,7 @@ similarly, in `x + 2`, `2` is a MIR constant. Type system constants are used in the type system, in particular for array lengths but also for const generics. Generally, both kinds of constants can be "unevaluated" or "already evaluated". -And unevaluated constant simply stores the `DefId` of what needs to be evaluated +An unevaluated constant simply stores the `DefId` of what needs to be evaluated to compute this result. An evaluated constant (a "value") has already been computed; their representation differs between type system constants and MIR constants: MIR constants evaluate to a `mir::ConstValue`; type system constants |
