Skip to content

standard library: array len and other properties are int instead of usize or isize #23614

@Xyndra

Description

@Xyndra

As you should know, the entire point of the usize and isize types is pointer size. Arrays can have a longer length than int if they are on 64 bit, which is the stronger standard. Please change this. Even one of the comments hint at this being a wanted feature that was forgotten.

Image

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature/Enhancement RequestThis issue is made to request a feature or an enhancement to an existing one.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions