From 7bdca2411fa8aee933c7231994feceb9ce8c3827 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Tue, 31 May 2022 10:18:11 +0100 Subject: [PATCH] Fix wasm build error that is somehow not showing up in abstreet web builds, only in bus_spotting --- abstutil/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstutil/src/cli.rs b/abstutil/src/cli.rs index ba27d540dd..74eae68510 100644 --- a/abstutil/src/cli.rs +++ b/abstutil/src/cli.rs @@ -54,7 +54,7 @@ fn parse_args() -> anyhow::Result> { // Consider using a proper url parsing crate. This works fine for now, though. let url_parts = url.split("?").collect::>(); 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("&")