summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall/src/phase/normalize.rs3
-rw-r--r--dhall_generated_parser/build.rs5
2 files changed, 3 insertions, 5 deletions
diff --git a/dhall/src/phase/normalize.rs b/dhall/src/phase/normalize.rs
index d5bdc9e..4bc0f04 100644
--- a/dhall/src/phase/normalize.rs
+++ b/dhall/src/phase/normalize.rs
@@ -75,7 +75,8 @@ pub fn apply_builtin(b: Builtin, args: Vec<Thunk>) -> Value {
// Empty string literal.
[] => {
// Printing InterpolatedText takes care of all the escaping
- let txt: InterpolatedText<X> = std::iter::empty().collect();
+ let txt: InterpolatedText<X> =
+ std::iter::empty().collect();
let s = txt.to_string();
Ok((
r,
diff --git a/dhall_generated_parser/build.rs b/dhall_generated_parser/build.rs
index 2c1a8f5..5275097 100644
--- a/dhall_generated_parser/build.rs
+++ b/dhall_generated_parser/build.rs
@@ -55,10 +55,7 @@ fn main() -> std::io::Result<()> {
}}"
)?;
// TODO: this is a cheat; properly support RFC3986 URLs instead
- writeln!(
- &mut file,
- "url_path = _{{ path }}"
- )?;
+ writeln!(&mut file, "url_path = _{{ path }}")?;
writeln!(
&mut file,
"nonreserved_label = _{{