diff options
author | Nadrieril | 2019-11-11 10:53:29 +0000 |
---|---|---|
committer | Nadrieril | 2019-11-11 13:50:36 +0000 |
commit | a8cb6926cbafb2ac806f7bec27a29b0528ed5056 (patch) | |
tree | 33f8afe3372b14920f3b75b8e110aa026430de44 /dhall_syntax/src | |
parent | 0e4f4c5af67b4075174ace5a1c7800dae60a9d11 (diff) |
Fix typo
Diffstat (limited to '')
-rw-r--r-- | dhall_syntax/src/core/span.rs | 2 |
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), }), } } |