File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ pub(super) fn open_browser_internal(
8585 log:: trace!( "about to start browser: {} for {}" , & browser, & target) ;
8686 let mut launched_app: CFURLRef = std:: ptr:: null_mut ( ) ;
8787 let status = unsafe { LSOpenFromURLSpec ( & spec, & mut launched_app) } ;
88- log:: trace!( "received status: {}" , status ) ;
88+ log:: trace!( "received status: {status}" ) ;
8989 if status == 0 {
9090 Ok ( ( ) )
9191 } else {
@@ -137,7 +137,7 @@ impl From<OSStatus> for LSError {
137137impl std:: fmt:: Display for LSError {
138138 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
139139 match self {
140- Self :: Unknown ( code) => write ! ( f, "ls_error: code {}" , code ) ,
140+ Self :: Unknown ( code) => write ! ( f, "ls_error: code {code}" ) ,
141141 Self :: ApplicationNotFound => f. write_str ( "ls_error: application not found" ) ,
142142 Self :: NoLaunchPermission => f. write_str ( "ls_error: no launch permission" ) ,
143143 }
You can’t perform that action at this time.
0 commit comments