summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
authorNadrieril2019-11-11 17:30:45 +0000
committerNadrieril2019-11-11 17:30:52 +0000
commit1ea6fe55eea2f1448f897e2a2805f7e0a1daac9b (patch)
tree96b0a65ce542a9b7652334481aef5bce54b7a857 /dhall
parentbbb089d219cb22751d7100fe6524063cbe2474dd (diff)
typo
Diffstat (limited to '')
-rw-r--r--dhall/src/phase/typecheck.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/phase/typecheck.rs b/dhall/src/phase/typecheck.rs
index 265a20e..ef8340d 100644
--- a/dhall/src/phase/typecheck.rs
+++ b/dhall/src/phase/typecheck.rs
@@ -768,8 +768,8 @@ fn type_last_layer(
ToMap(_, _) => unimplemented!("toMap"),
Projection(record, labels) => {
let record_type = record.get_type()?;
- let record_borrow = record_type.as_whnf();
- let kts = match &*record_borrow {
+ let record_type_borrow = record_type.as_whnf();
+ let kts = match &*record_type_borrow {
ValueF::RecordType(kts) => kts,
_ => return mkerr(ProjectionMustBeRecord),
};