File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,6 @@ fn main() {
8989 for entry in app_data. dmabuf_state . modifiers ( ) {
9090 print_format ( entry) ;
9191 }
92-
93- return ;
9492 }
9593 Some ( ver @ 4 ..) => {
9694 println ! ( "Version `{}` of `zwp_linux_dmabuf_v1` supported. Showing default dmabuf feedback.\n " , ver) ;
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl RegistryState {
192192 pub fn globals_by_interface < ' a > (
193193 & ' a self ,
194194 interface : & ' a str ,
195- ) -> impl Iterator < Item = & Global > + ' a {
195+ ) -> impl Iterator < Item = & ' a Global > + ' a {
196196 self . globals . iter ( ) . filter ( move |g| g. interface == interface)
197197 }
198198
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ impl SeatState {
110110#[ allow( missing_debug_implementations) ]
111111pub struct Keymap < ' a > ( & ' a xkb:: Keymap ) ;
112112
113- impl < ' a > Keymap < ' a > {
113+ impl Keymap < ' _ > {
114114 /// Get keymap as string in text format. The keymap should always be valid.
115115 pub fn as_string ( & self ) -> String {
116116 self . 0 . get_as_string ( xkb:: KEYMAP_FORMAT_TEXT_V1 )
Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ pub enum ThemeSpec<'a> {
555555 System ,
556556}
557557
558- impl < ' a > Default for ThemeSpec < ' a > {
558+ impl Default for ThemeSpec < ' _ > {
559559 fn default ( ) -> Self {
560560 Self :: System
561561 }
You can’t perform that action at this time.
0 commit comments