Skip to content

Commit 7e3fe0a

Browse files
camelidJoshua Nelson
authored andcommitted
Apply review suggestion
Co-authored-by: Joshua Nelson <[email protected]>
1 parent 92499ea commit 7e3fe0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mir/construction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ without explicit syntax) like coercions, autoderef, autoref and overloaded metho
2020
calls have become explicit casts, deref operations, reference expressions or
2121
concrete function calls.
2222

23-
The [THIR] has datatypes that mirror the [HIR] datatypes, but the [THIR] is a shallow
24-
wrapper around [HIR]. For example, instead of `-x` being a `thir::ExprKind::Neg(thir::Expr)`
23+
The [THIR] is a shallow wrapper around [HIR], with datatypes that mirror the [HIR] datatypes.
24+
For example, instead of `-x` being a `thir::ExprKind::Neg(thir::Expr)`
2525
(a deep copy), it is a `thir::ExprKind::Neg(hir::Expr)` (a shallow copy).
2626
This shallowness enables the [THIR] to represent all datatypes that [HIR] has, but
2727
without having to create an in-memory copy of the entire [HIR].

0 commit comments

Comments
 (0)