summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2019-11-11 10:53:29 +0000
committerNadrieril2019-11-11 13:50:36 +0000
commita8cb6926cbafb2ac806f7bec27a29b0528ed5056 (patch)
tree33f8afe3372b14920f3b75b8e110aa026430de44
parent0e4f4c5af67b4075174ace5a1c7800dae60a9d11 (diff)
Fix typo
-rw-r--r--dhall_syntax/src/core/span.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_syntax/src/core/span.rs b/dhall_syntax/src/core/span.rs
index ad5a3a9..f0eb89a 100644
--- a/dhall_syntax/src/core/span.rs
+++ b/dhall_syntax/src/core/span.rs
@@ -37,7 +37,7 @@ impl Span {
(Parsed(x), Parsed(y)) => Span::Parsed(ParsedSpan {
input: x.input.clone(),
start: min(x.start, y.start),
- end: max(x.start, y.start),
+ end: max(x.end, y.end),
}),
}
}