From cbb1e4c9d29722ff0ae119b1ce7b1a7486045afd Mon Sep 17 00:00:00 2001 From: Clemente Date: Sat, 21 Jan 2023 11:19:28 -0300 Subject: [PATCH] Update docs --- router/src/history/params.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/src/history/params.rs b/router/src/history/params.rs index 05cd6f269..57bf33a0c 100644 --- a/router/src/history/params.rs +++ b/router/src/history/params.rs @@ -61,7 +61,7 @@ impl Default for ParamsMap { /// ``` /// # use leptos_router::params_map; /// let map = params_map! { -/// "id".to_string() => "1".to_string() +/// "id" => "1" /// }; /// assert_eq!(map.get("id"), Some(&"1".to_string())); /// assert_eq!(map.get("missing"), None)