Skip to content

PtrExt::offset taking an isize argument is not ideal #22104

Closed
@carllerche

Description

@carllerche

PtrExt::offset taking an isize argument prevents being able to advance forward / back the full possible range of a pointer. A better option might be to have separate functions for forwards / backwards that take usize arguments.

Metadata

Metadata

Assignees

Labels

P-mediumMedium priorityT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions