chore: a few more minor lints
This commit is contained in:
parent
3e72969ce4
commit
3e7721e554
4 changed files with 5 additions and 5 deletions
|
|
@ -205,7 +205,7 @@ fn update_cmake(next_version: &Version) -> Result<()> {
|
|||
let end_quote = line.rfind('"').unwrap();
|
||||
format!(
|
||||
"{}{next_version}{}",
|
||||
&line[..start_quote + 1],
|
||||
&line[..=start_quote],
|
||||
&line[end_quote..]
|
||||
)
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ fn check_wasm_exports() -> Result<()> {
|
|||
let mut missing = exports
|
||||
.iter()
|
||||
.filter(|&symbol| !wasm_exports.contains(symbol))
|
||||
.map(|symbol| symbol.as_str())
|
||||
.map(String::as_str)
|
||||
.collect::<Vec<_>>();
|
||||
missing.sort_unstable();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue