Skip to content

Range<u64> implements ExactSizeIterator #22047

Closed
@bluss

Description

@bluss

What does (0..std::u64::MAX).size_hint() return on a 32-bit build? Range<u64> and Range<i64> cannot fulfill the requirements of the ExactSizeIterator trait, and the implementations must be removed.

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