summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
authorNadrieril2019-08-20 17:08:01 +0200
committerNadrieril2019-08-20 17:08:01 +0200
commita506632b27b287d1bf898e2f77ae09a56902474c (patch)
tree52d704b5c59c213b31b655c03b4fe14e78cb30c1 /serde_dhall
parent04438824db21fb5d9d3a2abdb3fa167875bda892 (diff)
Naming tweaks
Diffstat (limited to 'serde_dhall')
-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