Skip to content

Write harnesses for <*const T>::offset_from to verify slices - #16

Merged
stogaru merged 3 commits into
verify/ptr_const_offset_fromfrom
verify/ptr_const_offset_from_slice
Nov 8, 2024
Merged

stogaru merged 3 commits into
verify/ptr_const_offset_fromfrom
verify/ptr_const_offset_from_slice

Conversation

@stogaru

@stogaru stogaru commented Nov 7, 2024

Copy link
Copy Markdown
Owner

Please add a description of your PR.
If this is a solution to an open challenge, please explain your solution.

Don't forget to check our book to ensure your solution satisfy the overall
requirements as well as the challenge success criteria.

Resolves #ISSUE-NUMBER

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@stogaru stogaru changed the title Write harnesses to verify slices Write harnesses for <*const T>::offset_from to verify slices Nov 7, 2024
@xsxszab

xsxszab commented Nov 8, 2024

Copy link
Copy Markdown
Collaborator

we need to add comments to explain our magic numbers such as ARRAY_SIZE

@stogaru
stogaru changed the base branch from main to verify/ptr_const_offset_from November 8, 2024 05:32
@stogaru
stogaru merged commit 317aef5 into verify/ptr_const_offset_from Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants