mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 02:52:11 +00:00
internal: fix NameGenerator's and AnyMap's rustdocs
This commit is contained in:
parent
a05564370d
commit
3e15dbc85f
2 changed files with 4 additions and 4 deletions
|
|
@ -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");
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue