chore: a few more minor lints

This commit is contained in:
Yuri Astrakhan 2025-01-21 19:52:17 -05:00 committed by Amaan Qureshi
parent 3e72969ce4
commit 3e7721e554
4 changed files with 5 additions and 5 deletions

View file

@ -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 {

View file

@ -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();