diff options
author | Nadrieril | 2020-03-17 22:14:00 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-17 22:14:00 +0000 |
commit | 6131fd407e1092afe04cf94e3eaea263f84e0211 (patch) | |
tree | e13019f363f096dd6bd77446c51ff8214aa2d788 /dhall | |
parent | 2917d0f432d6db6f42074f36107395561d9914b2 (diff) |
Circumvent weird rustfmt inconsistency
Diffstat (limited to '')
-rw-r--r-- | dhall/build.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dhall/build.rs b/dhall/build.rs index ce677e3..366f8a4 100644 --- a/dhall/build.rs +++ b/dhall/build.rs @@ -411,7 +411,9 @@ fn convert_abnf_to_pest() -> std::io::Result<()> { // Setup grammar for precedence climbing rules.remove("operator_expression"); - writeln!(&mut file, r##" + writeln!( + &mut file, + r##" import_alt = {{ "?" ~ whsp1 }} bool_or = {{ "||" }} natural_plus = {{ "+" ~ whsp1 }} @@ -438,7 +440,8 @@ fn convert_abnf_to_pest() -> std::io::Result<()> { import_alt }} operator_expression = {{ with_expression ~ (whsp ~ operator ~ whsp ~ with_expression)* }} - "##)?; + "## + )?; writeln!( &mut file, |