summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2019-04-15 00:06:42 +0200
committerNadrieril2019-04-15 00:06:42 +0200
commit75420d0822652d6592b74199ea35281dbdf84efb (patch)
treedccf097b91cdcb451b116ea4f27aca1a9fee619a
parent75d52de47bb4fdee3c2b71505c433bfc34166b49 (diff)
rustfmt
-rw-r--r--dhall/src/lib.rs8
-rw-r--r--dhall_generator/src/derive.rs3
2 files changed, 6 insertions, 5 deletions
diff --git a/dhall/src/lib.rs b/dhall/src/lib.rs
index 883bf05..544df6e 100644
--- a/dhall/src/lib.rs
+++ b/dhall/src/lib.rs
@@ -124,14 +124,14 @@ mod tests;
mod parser;
mod binary;
-mod imports;
-mod normalize;
-mod traits;
-mod typecheck;
/// When manipulating Dhall expressions goes wrong.
pub mod error;
pub mod expr;
+mod imports;
+mod normalize;
mod serde;
+mod traits;
+mod typecheck;
/// Deserialization of Dhall expressions into Rust
pub mod de {
diff --git a/dhall_generator/src/derive.rs b/dhall_generator/src/derive.rs
index 208c98b..740081a 100644
--- a/dhall_generator/src/derive.rs
+++ b/dhall_generator/src/derive.rs
@@ -174,7 +174,8 @@ pub fn derive_simple_static_type_inner(
let ident = &input.ident;
let tokens = quote! {
- impl #impl_generics ::dhall::de::SimpleStaticType for #ident #ty_generics
+ impl #impl_generics ::dhall::de::SimpleStaticType
+ for #ident #ty_generics
#where_clause {
fn get_simple_static_type<'get_simple_static_type>() ->
::dhall::expr::SimpleType<'get_simple_static_type> {