all: set rust edition to 2024
This commit is contained in:
parent
02a18f620b
commit
3338909170
515 changed files with 1225 additions and 1187 deletions
|
|
@ -7,7 +7,7 @@ use {
|
|||
leaks::Tracker,
|
||||
object::{Object, Version},
|
||||
utils::errorfmt::ErrorFmt,
|
||||
wire::{zwp_input_method_keyboard_grab_v2::*, ZwpInputMethodKeyboardGrabV2Id},
|
||||
wire::{ZwpInputMethodKeyboardGrabV2Id, zwp_input_method_keyboard_grab_v2::*},
|
||||
},
|
||||
std::{cell::Cell, rc::Rc},
|
||||
thiserror::Error,
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
use {
|
||||
crate::{
|
||||
client::{Client, ClientCaps, ClientError, CAP_INPUT_METHOD},
|
||||
client::{CAP_INPUT_METHOD, Client, ClientCaps, ClientError},
|
||||
globals::{Global, GlobalName},
|
||||
ifs::wl_seat::text_input::{zwp_input_method_v2::ZwpInputMethodV2, TextConnectReason},
|
||||
ifs::wl_seat::text_input::{TextConnectReason, zwp_input_method_v2::ZwpInputMethodV2},
|
||||
leaks::Tracker,
|
||||
object::{Object, Version},
|
||||
wire::{zwp_input_method_manager_v2::*, ZwpInputMethodManagerV2Id},
|
||||
wire::{ZwpInputMethodManagerV2Id, zwp_input_method_manager_v2::*},
|
||||
},
|
||||
std::rc::Rc,
|
||||
thiserror::Error,
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ use {
|
|||
client::{Client, ClientError},
|
||||
ifs::{
|
||||
wl_seat::{
|
||||
text_input::{
|
||||
zwp_input_method_keyboard_grab_v2::ZwpInputMethodKeyboardGrabV2,
|
||||
TextDisconnectReason, TextInputConnection, MAX_TEXT_SIZE,
|
||||
},
|
||||
WlSeatGlobal,
|
||||
text_input::{
|
||||
MAX_TEXT_SIZE, TextDisconnectReason, TextInputConnection,
|
||||
zwp_input_method_keyboard_grab_v2::ZwpInputMethodKeyboardGrabV2,
|
||||
},
|
||||
},
|
||||
wl_surface::zwp_input_popup_surface_v2::{
|
||||
ZwpInputPopupSurfaceV2, ZwpInputPopupSurfaceV2Error,
|
||||
|
|
@ -17,7 +17,7 @@ use {
|
|||
leaks::Tracker,
|
||||
object::{Object, Version},
|
||||
utils::{clonecell::CloneCell, numcell::NumCell, smallmap::SmallMap},
|
||||
wire::{zwp_input_method_v2::*, ZwpInputMethodV2Id, ZwpInputPopupSurfaceV2Id},
|
||||
wire::{ZwpInputMethodV2Id, ZwpInputPopupSurfaceV2Id, zwp_input_method_v2::*},
|
||||
},
|
||||
std::{
|
||||
cell::{Cell, RefCell},
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ use {
|
|||
ifs::wl_seat::text_input::zwp_text_input_v3::ZwpTextInputV3,
|
||||
leaks::Tracker,
|
||||
object::{Object, Version},
|
||||
wire::{zwp_text_input_manager_v3::*, ZwpTextInputManagerV3Id},
|
||||
wire::{ZwpTextInputManagerV3Id, zwp_text_input_manager_v3::*},
|
||||
},
|
||||
std::rc::Rc,
|
||||
thiserror::Error,
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ use {
|
|||
client::{Client, ClientError},
|
||||
ifs::{
|
||||
wl_seat::{
|
||||
text_input::{
|
||||
zwp_input_method_v2::ZwpInputMethodV2, TextConnectReason, TextDisconnectReason,
|
||||
TextInputConnection, MAX_TEXT_SIZE,
|
||||
},
|
||||
WlSeatGlobal,
|
||||
text_input::{
|
||||
MAX_TEXT_SIZE, TextConnectReason, TextDisconnectReason, TextInputConnection,
|
||||
zwp_input_method_v2::ZwpInputMethodV2,
|
||||
},
|
||||
},
|
||||
wl_surface::WlSurface,
|
||||
},
|
||||
|
|
@ -15,7 +15,7 @@ use {
|
|||
object::{Object, Version},
|
||||
rect::Rect,
|
||||
utils::{clonecell::CloneCell, numcell::NumCell},
|
||||
wire::{zwp_text_input_v3::*, ZwpTextInputV3Id},
|
||||
wire::{ZwpTextInputV3Id, zwp_text_input_v3::*},
|
||||
},
|
||||
std::{cell::RefCell, collections::hash_map::Entry, mem, rc::Rc},
|
||||
thiserror::Error,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue