-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Document snippet reviewing process #143
Conversation
Very cool. Two remarks:
|
Regarding (2), what would wording be that captures your suggestion? Maybe something like: “Each field accessor is used at most once per struct instance, or range-checked before each use.” You say that “the field values are range-checked”; is it actually the values of a field that should be range-checked? My current understanding is that the range check is required for dynamic size indicators (or is it length indicators?). |
e7ebddf
to
871426a
Compare
shadowed_snippet | ||
.inner() | ||
.borrow() | ||
.assert_all_sign_offs_are_up_to_date(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure about this addition because it lives in a publicly exposed function. Should downstream callers also be exposed to the potential panics generated here?
c2e5e4d
to
5b10564
Compare
38c7aa8
to
11d6760
Compare
11d6760
to
3bd722a
Compare
No description provided.