summaryrefslogtreecommitdiff
path: root/serde_dhall/src
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall/src')
-rw-r--r--serde_dhall/src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs
index cef11dd..4171fab 100644
--- a/serde_dhall/src/lib.rs
+++ b/serde_dhall/src/lib.rs
@@ -169,14 +169,12 @@ pub mod value {
}
pub(crate) fn make_optional_type(t: Value) -> Self {
Self::make_simple_type(
- DhallValueF::from_builtin(Builtin::Optional)
- .app_value(t.to_value()),
+ DhallValueF::from_builtin(Builtin::Optional).app(t.to_value()),
)
}
pub(crate) fn make_list_type(t: Value) -> Self {
Self::make_simple_type(
- DhallValueF::from_builtin(Builtin::List)
- .app_value(t.to_value()),
+ DhallValueF::from_builtin(Builtin::List).app(t.to_value()),
)
}
// Made public for the StaticType derive macro