diff options
author | Fintan Halpenny | 2019-09-03 13:56:55 +0100 |
---|---|---|
committer | Fintan Halpenny | 2019-09-03 13:56:55 +0100 |
commit | eae1eac7048cd87d2775cdc470a295b9d2ee7346 (patch) | |
tree | 251636c6b1e6cf984919da42c72a3a1c5ab88882 | |
parent | 74fdefa4375a60648b667136e94119bcdd377a32 (diff) |
No need for as_ref call
-rw-r--r-- | dhall_syntax/src/core/import.rs | 2 |
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, |