Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ with_crash_reporting = []
allow-attributes = "warn"
dbg-macro = "warn"
elidable-lifetime-names = "warn"
implicit-clone = "warn"
str-to-string = "warn"
string-to-string = "warn"
tests-outside-test-module = "warn"
unnecessary-wraps = "warn"
uninlined-format-args = "warn"
Expand Down
2 changes: 1 addition & 1 deletion src/commands/debug_files/bundle_jvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
))?;
}

let sources = ReleaseFileSearch::new(path.to_path_buf()).collect_files()?;
let sources = ReleaseFileSearch::new(path.clone()).collect_files()?;
let files = sources.iter().map(|source| {
let local_path = source.path.strip_prefix(&source.base_path).unwrap();
let local_path_jvm_ext = local_path.with_extension("jvm");
Expand Down
2 changes: 1 addition & 1 deletion src/commands/debug_files/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ where
{
ids.filter_map(|id| {
if remaining.contains(&id) {
return Some((id.to_owned(), t));
return Some((id, t));
}
None
})
Expand Down
2 changes: 1 addition & 1 deletion src/commands/upload_proguard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
&org,
&project,
&AssociateProguard {
release_name: release_name.to_owned(),
release_name: release_name.clone(),
proguard_uuid: uuid.to_string(),
},
)?;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn get_xcode_project_info(path: &Path) -> Result<Option<XcodeProjectInfo>> {
for entry in (fs::read_dir(path)?).flatten() {
if let Some(filename) = entry.file_name().to_str() {
if filename.ends_with(".xcodeproj") {
projects.push(entry.path().to_path_buf());
projects.push(entry.path().clone());
}
}
}
Expand Down