diff options
author | Nadrieril | 2019-04-15 00:06:42 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-15 00:06:42 +0200 |
commit | 75420d0822652d6592b74199ea35281dbdf84efb (patch) | |
tree | dccf097b91cdcb451b116ea4f27aca1a9fee619a | |
parent | 75d52de47bb4fdee3c2b71505c433bfc34166b49 (diff) |
rustfmt
Diffstat (limited to '')
-rw-r--r-- | dhall/src/lib.rs | 8 | ||||
-rw-r--r-- | dhall_generator/src/derive.rs | 3 |
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> { |