internal: fix NameGenerator's and AnyMap's rustdocs

This commit is contained in:
David Barsky 2025-04-09 12:27:04 -04:00
parent a05564370d
commit 3e15dbc85f
2 changed files with 4 additions and 4 deletions

View file

@ -83,7 +83,7 @@ const USELESS_METHODS: &[&str] = &[
///
/// ```
/// # use ide_db::syntax_helpers::suggest_name::NameGenerator;
/// let mut generator = NameGenerator::new();
/// let mut generator = NameGenerator::default();
/// assert_eq!(generator.suggest_name("a"), "a");
/// assert_eq!(generator.suggest_name("a"), "a1");
///