File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ with_crash_reporting = []
9999allow-attributes = " warn"
100100dbg-macro = " warn"
101101elidable-lifetime-names = " warn"
102+ implicit-clone = " warn"
102103str-to-string = " warn"
103- string-to-string = " warn"
104104tests-outside-test-module = " warn"
105105unnecessary-wraps = " warn"
106106uninlined-format-args = " warn"
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
7575 ) ) ?;
7676 }
7777
78- let sources = ReleaseFileSearch :: new ( path. to_path_buf ( ) ) . collect_files ( ) ?;
78+ let sources = ReleaseFileSearch :: new ( path. clone ( ) ) . collect_files ( ) ?;
7979 let files = sources. iter ( ) . map ( |source| {
8080 let local_path = source. path . strip_prefix ( & source. base_path ) . unwrap ( ) ;
8181 let local_path_jvm_ext = local_path. with_extension ( "jvm" ) ;
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ where
324324{
325325 ids. filter_map ( |id| {
326326 if remaining. contains ( & id) {
327- return Some ( ( id. to_owned ( ) , t) ) ;
327+ return Some ( ( id, t) ) ;
328328 }
329329 None
330330 } )
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
332332 & org,
333333 & project,
334334 & AssociateProguard {
335- release_name : release_name. to_owned ( ) ,
335+ release_name : release_name. clone ( ) ,
336336 proguard_uuid : uuid. to_string ( ) ,
337337 } ,
338338 ) ?;
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ fn get_xcode_project_info(path: &Path) -> Result<Option<XcodeProjectInfo>> {
9393 for entry in ( fs:: read_dir ( path) ?) . flatten ( ) {
9494 if let Some ( filename) = entry. file_name ( ) . to_str ( ) {
9595 if filename. ends_with ( ".xcodeproj" ) {
96- projects. push ( entry. path ( ) . to_path_buf ( ) ) ;
96+ projects. push ( entry. path ( ) . clone ( ) ) ;
9797 }
9898 }
9999 }
You can’t perform that action at this time.
0 commit comments