@@ -368,7 +368,6 @@ impl Pointer {
368
368
/// [`ResolveError`]: `crate::resolve::ResolveError`
369
369
/// [`Token`]: `crate::Token`
370
370
/// [`Index`]: `crate::index::Index`
371
-
372
371
#[ cfg( feature = "resolve" ) ]
373
372
pub fn resolve_mut < ' v , R : crate :: ResolveMut > (
374
373
& self ,
@@ -679,7 +678,7 @@ impl PartialEq<&str> for Pointer {
679
678
& & self . 0 == other
680
679
}
681
680
}
682
- impl < ' p > PartialEq < String > for & ' p Pointer {
681
+ impl PartialEq < String > for & Pointer {
683
682
fn eq ( & self , other : & String ) -> bool {
684
683
self . 0 . eq ( other)
685
684
}
@@ -869,7 +868,7 @@ impl PartialOrd<&str> for PointerBuf {
869
868
}
870
869
}
871
870
872
- impl < ' p > PartialOrd < PointerBuf > for & ' p Pointer {
871
+ impl PartialOrd < PointerBuf > for & Pointer {
873
872
fn partial_cmp ( & self , other : & PointerBuf ) -> Option < Ordering > {
874
873
self . 0 . partial_cmp ( other. 0 . as_str ( ) )
875
874
}
@@ -2343,11 +2342,4 @@ mod tests {
2343
2342
let unboxed = boxed. into_buf ( ) ;
2344
2343
assert_eq ! ( subjectal, unboxed) ;
2345
2344
}
2346
-
2347
- #[ test]
2348
- #[ cfg( feature = "miette" ) ]
2349
- fn quick_miette_spike ( ) {
2350
- let err = PointerBuf :: parse ( "hello-world" ) . unwrap_err ( ) ;
2351
- println ! ( "{:?}" , miette:: Report :: from( err) ) ;
2352
- }
2353
2345
}
0 commit comments