diff options
author | Fintan Halpenny | 2019-09-03 14:42:30 +0100 |
---|---|---|
committer | Fintan Halpenny | 2019-09-03 14:42:30 +0100 |
commit | 4edaf0814868e604eed5cfd594ea3f448ca90678 (patch) | |
tree | 6dc5d888d1fd7030a5951846cd5ee1fff185ace6 /dhall_syntax/src/parser.rs | |
parent | eae1eac7048cd87d2775cdc470a295b9d2ee7346 (diff) |
Move Canonicalize into resolve.
Rename File to FilePath and have more consistent naming.
Diffstat (limited to '')
-rw-r--r-- | dhall_syntax/src/parser.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs index b70a236..52b3760 100644 --- a/dhall_syntax/src/parser.rs +++ b/dhall_syntax/src/parser.rs @@ -729,7 +729,7 @@ make_parser! { [scheme(sch), authority(auth), path(file_path)] => URL { scheme: sch, authority: auth, - path: File { file_path }, + path: FilePath { file_path }, query: None, headers: None, }, @@ -737,7 +737,7 @@ make_parser! { URL { scheme: sch, authority: auth, - path: File { file_path }, + path: FilePath { file_path }, query: Some(q), headers: None, } @@ -794,7 +794,7 @@ make_parser! { ImportLocation::Remote(url) }, [local((prefix, file_path))] => { - ImportLocation::Local(prefix, File { file_path }) + ImportLocation::Local(prefix, FilePath { file_path }) }, )); |