Skip to content

Method push on Vec struct #46315

Closed
Closed
@abjrcode

Description

@abjrcode

I started learning Rust recently and I was checking the source code for reference so bear with me please.
Isn't this a bug?
We are casting the length which is defined as usize to isize? if not why so?

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