Skip to content

Commit 76efc9b

Browse files
tshepangJoshua Nelson
authored and
Joshua Nelson
committed
nits
1 parent 7e3fe0a commit 76efc9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mir/construction.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ list of items:
1313

1414
The lowering is triggered by calling the [`mir_built`] query.
1515
There is an intermediate representation
16-
between [HIR] and [MIR] called the [THIR] that is only used during the lowering.
16+
between [HIR] and [MIR] called the [THIR] that is only used during lowering.
1717
[THIR] means "Typed HIR" and used to be called "HAIR (High-level Abstract IR)".
1818
The [THIR]'s most important feature is that the various adjustments (which happen
1919
without explicit syntax) like coercions, autoderef, autoref and overloaded method
@@ -30,8 +30,8 @@ without having to create an in-memory copy of the entire [HIR].
3030
the [THIR] expressions recursively.
3131

3232
The lowering creates local variables for every argument as specified in the signature.
33-
Next it creates local variables for every binding specified (e.g. `(a, b): (i32, String)`)
34-
produces 3 bindings, one for the argument, and two for the bindings. Next it generates
33+
Next, it creates local variables for every binding specified (e.g. `(a, b): (i32, String)`)
34+
produces 3 bindings, one for the argument, and two for the bindings. Next, it generates
3535
field accesses that read the fields from the argument and writes the value to the binding
3636
variable.
3737

0 commit comments

Comments
 (0)