Skip to content

Why does from_timestamp panic for very small values if i64 like i64::MIN? #431

@thomaseizinger

Description

@thomaseizinger

We are using proptest to generate arbitrary timestamps and we have to limit the actual inputs that are generated to u32 for this function to not panic.

Any reason why negative values are allowed here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions