Skip to content

Suggest raw_ptr.cast() over raw_ptr as _ #4065

@oli-obk

Description

@oli-obk

The proposed cast method only allows casting the type without touching the mut/constness or even going to usize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-complexityLint: Belongs in the complexity lint groupL-styleLint: Belongs in the style lint groupL-unnecessaryLint: Warn about unnecessary codeS-blockedStatus: marked as blocked ❌ on something else such as an RFC or other implementation workT-middleType: Probably requires verifiying types

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions