File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ mod bodhi {
3636 update : BodhiUpdate ,
3737 }
3838
39- pub ( crate ) fn canonicalize_update_id ( id : & str ) -> Cow < str > {
39+ pub ( crate ) fn canonicalize_update_id ( id : & str ) -> Cow < ' _ , str > {
4040 let id = match id. strip_prefix ( BODHI_URL_PREFIX ) {
4141 Some ( s) => return Cow :: Borrowed ( s) ,
4242 None => id,
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ pub mod ffi {
515515 type TokioEnterGuard < ' a > ;
516516
517517 fn tokio_handle_get ( ) -> Box < TokioHandle > ;
518- fn enter ( self : & TokioHandle ) -> Box < TokioEnterGuard > ;
518+ fn enter ( self : & TokioHandle ) -> Box < TokioEnterGuard < ' _ > > ;
519519 }
520520
521521 // scripts.rs
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pub(crate) fn tokio_handle_get() -> Box<TokioHandle> {
1111}
1212
1313impl TokioHandle {
14- pub ( crate ) fn enter ( & self ) -> Box < TokioEnterGuard > {
14+ pub ( crate ) fn enter ( & self ) -> Box < TokioEnterGuard < ' _ > > {
1515 Box :: new ( TokioEnterGuard ( self . 0 . enter ( ) ) )
1616 }
1717}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use std::borrow::Cow;
66use glib:: translate:: * ;
77use ostree_ext:: glib;
88
9- pub ( crate ) fn byteswap_be_to_native ( v : & glib:: Variant ) -> Cow < glib:: Variant > {
9+ pub ( crate ) fn byteswap_be_to_native ( v : & glib:: Variant ) -> Cow < ' _ , glib:: Variant > {
1010 if cfg ! ( target_endian = "big" ) {
1111 Cow :: Borrowed ( v)
1212 } else {
You can’t perform that action at this time.
0 commit comments