I spent my whole day trying to route /search?query=Google.
let search = warp::path("search")
.and(warp::query::<String>())
.map(|query: String| {
warp::reply::html(format!("<p>{query}</p>"))
});
This however, results in a "Invalid query string", when I go http://localhost:3030/search?query=asgf.
This has to be the worst error message I ever received.