Skip to content

Incorrect doc for drain fn on hahsmap #98275

Closed
@HaoranYi

Description

@HaoranYi

Problem

In rust doc for hashmap drain fn, it says "the returned iterator keeps a mutable borrow on the vector ...". Should it be "on the map..."?

https://doc.rust-lang.org/src/std/collections/hash/map.rs.html#550

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions