-
Notifications
You must be signed in to change notification settings - Fork 220
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
Immutable Restricted Storage #306
Conversation
src/storage/restrict.rs
Outdated
/// Builds an immutable, parallel `RestrictedStorage`. | ||
pub fn par_restrict<'rf>( | ||
&'rf self, | ||
) -> RestrictedStorage<'rf, 'st, &BitSet, T, &T::Storage, ParallelRestriction> { |
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.
Do we really need two methods/variants here?
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.
Now that I think about it, probably not.
Thanks, looks good to me. r? @Xaeroxe @WaDelma Reviewed 2 of 3 files at r1, 1 of 1 files at r2. Comments from Reviewable |
bors delegate=@Aceeri I think it's fine as is, please merge as soon as you get another approval. |
✌️ Aceeri can now approve this pull request |
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.
LGTM!
Going to finish up the other pr later today. bors r+ |
306: Immutable Restricted Storage r=Aceeri a=Aceeri fixes #295 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/slide-rs/specs/306) <!-- Reviewable:end -->
Build succeeded |
fixes #295
This change is