summaryrefslogtreecommitdiff
path: root/dhall/src/traits
diff options
context:
space:
mode:
authorNadrieril2019-04-16 16:15:41 +0200
committerNadrieril2019-04-16 16:17:27 +0200
commitdf3f3785f251bfa84ab7df65e26ff8cbc73c2e2e (patch)
treeaaab642dd379769ad48cae7ece05cbbb54fa98d4 /dhall/src/traits
parent85dca9313efea9618dc4e3dd2e002ad4b5a02515 (diff)
Naming tweaks
Diffstat (limited to '')
-rw-r--r--dhall/src/traits/deserialize.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/traits/deserialize.rs b/dhall/src/traits/deserialize.rs
index cbe9aa3..43eb2ac 100644
--- a/dhall/src/traits/deserialize.rs
+++ b/dhall/src/traits/deserialize.rs
@@ -7,9 +7,9 @@ use crate::expr::*;
/// can deserialize.
///
/// This trait cannot be implemented manually.
-pub trait Deserialize<'a>: Sized {
+pub trait Deserialize<'de>: Sized {
/// See [dhall::de::from_str][crate::de::from_str]
- fn from_str(s: &'a str, ty: Option<&Type>) -> Result<Self>;
+ fn from_str(s: &'de str, ty: Option<&Type>) -> Result<Self>;
}
impl<'de: 'a, 'a> Deserialize<'de> for Parsed<'a> {