Skip to content

Add double panic mentioning for RAII guards #327

Open
@nandesu-utils

Description

@nandesu-utils

I think it would be nice to mention that one should be careful when writing drop implementations on guards relatively to the double panic possibility when they find out about this pattern for the first time or are unaware of double panicking generally.

It might help someone inexperienced I suppose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-patternArea: Content about PatternsC-amendmentCategory: Amendments to existing contentgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions