Skip to content

docs: Sub<DateTime> impl for DateTime should state it cannot overflow or underflow #1758

@Muon

Description

@Muon

The Sub impl for DateTime defers to DateTime::signed_duration_since. The latter is documented as being total, so the former should be as well.

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