Skip to content

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

Closed

Description

@oli-obk

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

Activity

  1. added
    T-middleType: Probably requires verifiying types
    A-lintArea: New lints
    L-styleLint: Belongs in the style lint group
    L-unnecessaryLint: Warn about unnecessary code
    S-blockedStatus: marked as blocked ❌ on something else such as an RFC or other implementation work
    L-complexityLint: Belongs in the complexity lint group
    on May 7, 2019
  2. flip1995 commented on Aug 29, 2020

    @flip1995
    Member

    Closing, since #5890 has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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