Update docs

This commit is contained in:
Clemente 2023-01-21 11:19:28 -03:00
parent dbccf525ac
commit cbb1e4c9d2

View file

@ -61,7 +61,7 @@ impl Default for ParamsMap {
/// ``` /// ```
/// # use leptos_router::params_map; /// # use leptos_router::params_map;
/// let map = 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("id"), Some(&"1".to_string()));
/// assert_eq!(map.get("missing"), None) /// assert_eq!(map.get("missing"), None)