File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ impl BindModeClient for Client {
248
248
self . add_listener :: < swayipc_async:: ModeEvent > ( move |mode| {
249
249
tracing:: trace!( "mode: {:?}" , mode) ;
250
250
251
- // when no bindind is active the bindmode is named "default", but we must display
251
+ // when no binding is active the bindmode is named "default", but we must display
252
252
// nothing in this case.
253
253
let name = if mode. change == "default" {
254
254
String :: new ( )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use smithay_client_toolkit::data_device_manager::WritePipe;
21
21
use std:: cmp:: min;
22
22
use std:: fmt:: { Debug , Formatter } ;
23
23
use std:: fs:: File ;
24
- use std:: io:: { ErrorKind , Write } ;
24
+ use std:: io:: Write ;
25
25
use std:: os:: fd:: { AsFd , BorrowedFd , OwnedFd } ;
26
26
use std:: sync:: Arc ;
27
27
use std:: time:: Duration ;
@@ -297,7 +297,7 @@ impl DataControlSourceHandler for Environment {
297
297
ClipboardValue :: Image ( bytes) => bytes. as_ref ( ) ,
298
298
ClipboardValue :: Other => panic ! (
299
299
"{:?}" ,
300
- io:: Error :: new ( ErrorKind :: Other , "Attempted to copy unsupported mime type" )
300
+ io:: Error :: other ( "Attempted to copy unsupported mime type" )
301
301
) ,
302
302
} ;
303
303
You can’t perform that action at this time.
0 commit comments