Skip to content

HashMap::with_capacity_and_hasher has the wrong-ordered arguments #12743

Closed
@wycats

Description

@wycats

http://static.rust-lang.org/doc/master/collections/hashmap/struct.HashMap.html#method.with_capacity_and_hasher

fn with_capacity_and_hasher(hasher: H, capacity: uint) -> HashMap<K, V, H>

If the name is with_capacity_and_hasher, the arguments should really be in the same order.

Metadata

Metadata

Assignees

No one assigned

    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