summaryrefslogtreecommitdiff
path: root/dhall_syntax/src/printer.rs
diff options
context:
space:
mode:
authorNadrieril2019-11-11 09:16:38 +0000
committerNadrieril2019-11-11 09:16:38 +0000
commit1837943ba9f92cf1d941c52d5b895f6573e152bf (patch)
treeafeb3fdd427f859142b9286c9871e0f80960c0fd /dhall_syntax/src/printer.rs
parent8a8eeeac3b4f7761fd0916ee69d182597090039d (diff)
Run `cargo fmt`
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/printer.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/dhall_syntax/src/printer.rs b/dhall_syntax/src/printer.rs
index 1e3b7f2..19ec781 100644
--- a/dhall_syntax/src/printer.rs
+++ b/dhall_syntax/src/printer.rs
@@ -377,8 +377,11 @@ impl<SubExpr: Display> Display for Import<SubExpr> {
Absolute => "",
};
write!(f, "{}/", prefix)?;
- let path: String =
- path.file_path.iter().map(|c| quote_if_needed(&*c)).join("/");
+ let path: String = path
+ .file_path
+ .iter()
+ .map(|c| quote_if_needed(&*c))
+ .join("/");
f.write_str(&path)?;
}
Remote(url) => {