diff options
author | Nadrieril | 2020-04-05 17:37:15 +0100 |
---|---|---|
committer | Nadrieril | 2020-04-05 17:43:38 +0100 |
commit | 820214615547101f8f2b5de209b5189968bddfee (patch) | |
tree | ad4249609707fd8720a44469152105c2f6a67c79 /serde_dhall/src/static_type.rs | |
parent | c4d9e73126131d31e707822b0fd8b0710363c863 (diff) |
Fix clippy warnings
Diffstat (limited to '')
-rw-r--r-- | serde_dhall/src/static_type.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/serde_dhall/src/static_type.rs b/serde_dhall/src/static_type.rs index f7b72b5..26c70cd 100644 --- a/serde_dhall/src/static_type.rs +++ b/serde_dhall/src/static_type.rs @@ -117,7 +117,6 @@ where .into_iter() .collect(), ) - .into() } } @@ -135,7 +134,6 @@ where .into_iter() .collect(), ) - .into() } } @@ -144,7 +142,7 @@ where T: StaticType, { fn static_type() -> SimpleType { - SimpleType::Optional(Box::new(T::static_type())).into() + SimpleType::Optional(Box::new(T::static_type())) } } @@ -153,7 +151,7 @@ where T: StaticType, { fn static_type() -> SimpleType { - SimpleType::List(Box::new(T::static_type())).into() + SimpleType::List(Box::new(T::static_type())) } } |