Skip to content

catch_panic claims that it returns Ok(()) #27027

Closed
@jdm

Description

@jdm

This appears to be false from reading the source; it looks like it actually returns the value of the closure if no panic occurs.

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