From 2e721355d55519911d7d7b1f382245d4e9244e18 Mon Sep 17 00:00:00 2001 From: Peter Hall Date: Thu, 14 Sep 2023 14:50:01 +0100 Subject: [PATCH] Fix incorrect lifetime in Value::to_str() --- src/kv/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kv/value.rs b/src/kv/value.rs index 352f965ea..f4eefbb09 100644 --- a/src/kv/value.rs +++ b/src/kv/value.rs @@ -635,7 +635,7 @@ mod std_support { impl<'v> Value<'v> { /// Try convert this value into a string. - pub fn to_str(&self) -> Option> { + pub fn to_str(&self) -> Option> { self.inner.to_str() } }