summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorCamelid <37223377+camelid@users.noreply.github.com>2020-08-22 18:59:23 -0700
committerTshepang Lekhonkhobe <tshepang@gmail.com>2020-08-26 13:13:14 +0200
commit88f89f2c945c44da1c07f29286d93347fc6a9000 (patch)
treec5c90689161c937df3aa6616895d0856d2704f15 /src/doc/rustc-dev-guide
parentc81541279aba017a6f3607eb07b24ba2197cea63 (diff)
downloadrust-88f89f2c945c44da1c07f29286d93347fc6a9000.tar.gz
rust-88f89f2c945c44da1c07f29286d93347fc6a9000.zip
Apply review suggestion
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/mir/construction.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/construction.md b/src/doc/rustc-dev-guide/src/mir/construction.md
index 2d5eef6d06d..50545f7763e 100644
--- a/src/doc/rustc-dev-guide/src/mir/construction.md
+++ b/src/doc/rustc-dev-guide/src/mir/construction.md
@@ -20,8 +20,8 @@ without explicit syntax) like coercions, autoderef, autoref and overloaded metho
 calls have become explicit casts, deref operations, reference expressions or
 concrete function calls.
 
-The [THIR] has datatypes that mirror the [HIR] datatypes, but the [THIR] is a shallow
-wrapper around [HIR]. For example, instead of `-x` being a `thir::ExprKind::Neg(thir::Expr)`
+The [THIR] is a shallow wrapper around [HIR], with datatypes that mirror the [HIR] datatypes.
+For example, instead of `-x` being a `thir::ExprKind::Neg(thir::Expr)`
 (a deep copy), it is a `thir::ExprKind::Neg(hir::Expr)` (a shallow copy).
 This shallowness enables the [THIR] to represent all datatypes that [HIR] has, but
 without having to create an in-memory copy of the entire [HIR].