@@ -368,7 +368,6 @@ impl Pointer {
368368 /// [`ResolveError`]: `crate::resolve::ResolveError`
369369 /// [`Token`]: `crate::Token`
370370 /// [`Index`]: `crate::index::Index`
371-
372371 #[ cfg( feature = "resolve" ) ]
373372 pub fn resolve_mut < ' v , R : crate :: ResolveMut > (
374373 & self ,
@@ -679,7 +678,7 @@ impl PartialEq<&str> for Pointer {
679678 & & self . 0 == other
680679 }
681680}
682- impl < ' p > PartialEq < String > for & ' p Pointer {
681+ impl PartialEq < String > for & Pointer {
683682 fn eq ( & self , other : & String ) -> bool {
684683 self . 0 . eq ( other)
685684 }
@@ -869,7 +868,7 @@ impl PartialOrd<&str> for PointerBuf {
869868 }
870869}
871870
872- impl < ' p > PartialOrd < PointerBuf > for & ' p Pointer {
871+ impl PartialOrd < PointerBuf > for & Pointer {
873872 fn partial_cmp ( & self , other : & PointerBuf ) -> Option < Ordering > {
874873 self . 0 . partial_cmp ( other. 0 . as_str ( ) )
875874 }
@@ -2343,11 +2342,4 @@ mod tests {
23432342 let unboxed = boxed. into_buf ( ) ;
23442343 assert_eq ! ( subjectal, unboxed) ;
23452344 }
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- }
23532345}
0 commit comments