summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
authorNadrieril2019-12-20 18:12:10 +0000
committerNadrieril2019-12-20 18:12:10 +0000
commite355984c3c83f8288eac36023c361db869643367 (patch)
treee8a65c2a3e962da51d9cd6bc5a3fdf996c883432 /serde_dhall
parent78d066a44c5598794602effa4c10a09f80ed1e72 (diff)
s/ExprF/ExprKind/
Diffstat (limited to 'serde_dhall')
-rw-r--r--serde_dhall/src/serde.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/serde_dhall/src/serde.rs b/serde_dhall/src/serde.rs
index 9006a08..cf5efc4 100644
--- a/serde_dhall/src/serde.rs
+++ b/serde_dhall/src/serde.rs
@@ -1,7 +1,7 @@
use std::borrow::Cow;
use dhall::semantics::phase::NormalizedExpr;
-use dhall::syntax::ExprF;
+use dhall::syntax::ExprKind;
use crate::de::{Deserialize, Error, Result};
use crate::Value;
@@ -31,7 +31,7 @@ impl<'de: 'a, 'a> serde::Deserializer<'de> for Deserializer<'a> {
V: serde::de::Visitor<'de>,
{
use std::convert::TryInto;
- use ExprF::*;
+ use ExprKind::*;
match self.0.as_ref().as_ref() {
NaturalLit(n) => {
if let Ok(n64) = (*n).try_into() {