From df3f3785f251bfa84ab7df65e26ff8cbc73c2e2e Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 16 Apr 2019 16:15:41 +0200 Subject: Naming tweaks --- dhall/src/traits/deserialize.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dhall/src/traits') 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; + fn from_str(s: &'de str, ty: Option<&Type>) -> Result; } impl<'de: 'a, 'a> Deserialize<'de> for Parsed<'a> { -- cgit v1.2.3