Skip to content

Commit

Permalink
Fix more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhand committed Mar 13, 2024
1 parent 8f03e15 commit 4c868bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/build/android/generate_android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use xmlem::{Document, NewElement, Node, Selector};

use crate::build::pahkat;
use crate::bundle::layout::Transform;
use crate::bundle::project::{LocaleProjectDescription};
use crate::bundle::project::LocaleProjectDescription;
use crate::bundle::target;
use crate::{
build::BuildStep,
Expand Down Expand Up @@ -121,8 +121,6 @@ impl BuildStep for GenerateAndroid {
.map(|x| x.replace("values-", ""))
.collect::<HashSet<_>>();

let _subtype_selector = Selector::new("subtype").expect("subtype selector");

// Method

let method_path = main_xml_path.join(Path::new("method.xml"));
Expand Down
4 changes: 2 additions & 2 deletions src/build/ios/serialize_pbxproj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ impl Pbxproj {
s.push_str("settings = {");
for (key, values) in settings {
let mut settings_string: String = String::new();
for value_list in values.as_array() {
values.as_array().into_iter().for_each(|value_list| {
settings_string.push_str("(");
for value in value_list {
settings_string.push_str(&format!("{}, ", value.as_str().unwrap()));
}
settings_string.push_str(")");
}
});
s.push_str(&format!("{} = {};", key, settings_string));
}
s.push_str("};");
Expand Down

0 comments on commit 4c868bb

Please sign in to comment.