summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/core/import.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_syntax/src/core/import.rs b/dhall_syntax/src/core/import.rs
index ef696b9..5e0ff6c 100644
--- a/dhall_syntax/src/core/import.rs
+++ b/dhall_syntax/src/core/import.rs
@@ -116,7 +116,7 @@ impl Canonicalize for File {
loop {
let component = file_path_components.next();
- match component.as_ref() {
+ match component {
// ───────────────────
// canonicalize(ε) = ε
None => break,