diff --git a/instant-segment/src/lib.rs b/instant-segment/src/lib.rs index 9a045fa..fadcab3 100644 --- a/instant-segment/src/lib.rs +++ b/instant-segment/src/lib.rs @@ -248,7 +248,7 @@ impl<'a> Ascii<'a> { } } -impl<'a> Index> for Ascii<'a> { +impl Index> for Ascii<'_> { type Output = str; fn index(&self, index: Range) -> &Self::Output {