Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/stdx/src/anymap.rs')
| -rw-r--r-- | crates/stdx/src/anymap.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/stdx/src/anymap.rs b/crates/stdx/src/anymap.rs index 91fab8e923..faf2e6c717 100644 --- a/crates/stdx/src/anymap.rs +++ b/crates/stdx/src/anymap.rs @@ -83,7 +83,8 @@ pub type RawMap<A> = hash_map::HashMap<TypeId, Box<A>, BuildHasherDefault<TypeId /// (Here using the [`AnyMap`] convenience alias; the first line could use /// <code>[anymap::Map][Map]::<[core::any::Any]>::new()</code> instead if desired.) /// -/// ```rust +/// ``` +/// # use stdx::anymap; #[doc = "let mut data = anymap::AnyMap::new();"] /// assert_eq!(data.get(), None::<&i32>); /// ``` |