File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ pub(crate) struct ShellScopeEntry {
9393// and `ShellScopeEntryAllowedArg` and `ShellAllowedArg`
9494// and `ShellScopeEntryAllowedArgs` and `ShellAllowedArgs`
9595// are kept in sync
96+ #[ allow( clippy:: unnecessary_operation) ]
9697fn _f ( ) {
9798 let v = scope_entry:: EntryRaw {
9899 name : String :: new ( ) ,
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ fn update_app() {
221221 let updater_extension = if let Some ( updater_zip_ext) = updater_zip_ext {
222222 format ! ( "{bundle_updater_ext}.{updater_zip_ext}" )
223223 } else {
224- format ! ( "{ bundle_updater_ext}" )
224+ bundle_updater_ext
225225 } ;
226226 let signature_extension = format ! ( "{updater_extension}.sig" ) ;
227227 let signature_path = out_bundle_path. with_extension ( signature_extension) ;
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ fn update_app() {
413413 ) ,
414414 2 => (
415415 v2_config. version ,
416- Box :: new ( || v2:: bundle_paths ( & root_dir, & v2_config. version ) )
416+ Box :: new ( || v2:: bundle_paths ( & root_dir, v2_config. version ) )
417417 as Box < dyn Fn ( ) -> Vec < ( BundleTarget , PathBuf ) > > ,
418418 "-v2" ,
419419 ) ,
You can’t perform that action at this time.
0 commit comments