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 @@ -88,7 +88,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
8888 ) ) ?;
8989 }
9090
91- let sources = ReleaseFileSearch :: new ( path. to_path_buf ( ) ) . collect_files ( ) ?;
91+ let sources = ReleaseFileSearch :: new ( path. clone ( ) ) . collect_files ( ) ?;
9292 let files = sources
9393 . iter ( )
9494 . map ( |source| {
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 @@ -329,7 +329,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
329329 & org,
330330 & project,
331331 & AssociateProguard {
332- release_name : release_name. to_owned ( ) ,
332+ release_name : release_name. clone ( ) ,
333333 proguard_uuid : uuid. to_string ( ) ,
334334 } ,
335335 ) ?;
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