summaryrefslogtreecommitdiff
path: root/dhall_parser/build.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-08 18:20:29 +0100
committerNadrieril2019-03-08 18:20:29 +0100
commit74719869dc8aae53bf9521de55188c08f4ebaf11 (patch)
tree7c7a2e37f521e58b7c3cbeab0b1e82f94e4e7ceb /dhall_parser/build.rs
parent78a0c10a4595683c034b8d3617f55c88cea2aa3c (diff)
rustfmt
Diffstat (limited to 'dhall_parser/build.rs')
-rw-r--r--dhall_parser/build.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/dhall_parser/build.rs b/dhall_parser/build.rs
index bc342c1..d30e31e 100644
--- a/dhall_parser/build.rs
+++ b/dhall_parser/build.rs
@@ -1,7 +1,7 @@
use std::collections::HashMap;
+use std::env;
use std::fs::File;
use std::io::{BufRead, BufReader, Read, Write};
-use std::env;
use std::path::Path;
use abnf_to_pest::{abnf_to_pest, PestRuleSettings};
@@ -70,7 +70,6 @@ fn main() -> std::io::Result<()> {
"final_expression = {{ SOI ~ complete_expression ~ EOI }}"
)?;
-
// Generate pest parser manually to avoid spurious recompilations
let derived = {
let pest_path = "dhall.pest";