Skip to content

Should the traits be unsafe? #87

@Rufflewind

Description

@Rufflewind

It would be nice if Unsigned/Integer could be marked unsafe so that unsafe code downstream can “trust” that any Unsigned type will yield sensible answers. I do see that

This trait should not be implemented for anything outside this crate.

so unsafe would simply be a formal way to document this (either that, or through a private supertrait).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions