mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 15:02:59 +03:00
Fix wasm build error that is somehow not showing up in abstreet web builds, only in bus_spotting
This commit is contained in:
parent
7bb1016905
commit
7bdca2411f
@ -54,7 +54,7 @@ fn parse_args() -> anyhow::Result<Vec<String>> {
|
||||
// Consider using a proper url parsing crate. This works fine for now, though.
|
||||
let url_parts = url.split("?").collect::<Vec<_>>();
|
||||
if url_parts.len() != 2 {
|
||||
bail!("URL {} doesn't seem to have query params");
|
||||
bail!("URL {url} doesn't seem to have query params");
|
||||
}
|
||||
let parts = url_parts[1]
|
||||
.split("&")
|
||||
|
Loading…
Reference in New Issue
Block a user