(href: &str)
| 37 | } |
| 38 | |
| 39 | fn split_query_args_impl(href: &str) -> Vec<String> { |
| 40 | let Some((_, tail)) = href.split_once('?') else { |
| 41 | return Vec::new(); |
| 42 | }; |
| 43 | tail.split('#') |
| 44 | .next() |
| 45 | .unwrap_or("") |
| 46 | .split('&') |
| 47 | .filter(|part| !part.is_empty()) |
| 48 | .map(str::to_string) |
| 49 | .collect() |
| 50 | } |
| 51 | |
| 52 | fn pending_route_slot() -> &'static Mutex<Option<String>> { |
| 53 | static SLOT: OnceLock<Mutex<Option<String>>> = OnceLock::new(); |
no test coverage detected