Skip to content

Make unsafe pointers always non-null #2971

Description

@jruderman

"I am managing the lifetime of this pointer myself" and "I might have null instead of a pointer" should be orthogonal concepts.

I suggest:

This would help clarify code that uses unsafe pointers.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions