summaryrefslogtreecommitdiff
path: root/serde_dhall/src/static_type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall/src/static_type.rs')
-rw-r--r--serde_dhall/src/static_type.rs6
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()))
}
}