Skip to content

Commit 5c79da9

Browse files
committed
Fix elided_named_lifetimes warning
1 parent 900ccc3 commit 5c79da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/maxminddb/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ impl<'de, S: AsRef<[u8]>> Reader<S> {
355355
/// println!("ip_net={}, city={:?}", item.ip_net, item.info);
356356
/// }
357357
/// ```
358-
pub fn within<T>(&'de self, cidr: IpNetwork) -> Result<Within<T, S>, MaxMindDBError>
358+
pub fn within<T>(&'de self, cidr: IpNetwork) -> Result<Within<'de, T, S>, MaxMindDBError>
359359
where
360360
T: Deserialize<'de>,
361361
{

0 commit comments

Comments
 (0)