Skip to content

Docs of impl Index for HashMap and BTreeMap should mention they panic for a non-existent key #47011

Closed
@nodakai

Description

@nodakai

It's true that you can expect this behavior from the method signature, but this is too important a detail to leave out.

What was the rustdoc syntax to document a particular impl of a trait?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions