mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Update docs
This commit is contained in:
parent
dbccf525ac
commit
cbb1e4c9d2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue