Skip to content
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

Merged
merged 2 commits into from
Dec 12, 2017
Merged

Conversation

Aceeri
Copy link
Member

@Aceeri Aceeri commented Dec 4, 2017

fixes #295


This change is Reviewable

/// Builds an immutable, parallel `RestrictedStorage`.
pub fn par_restrict<'rf>(
&'rf self,
) -> RestrictedStorage<'rf, 'st, &BitSet, T, &T::Storage, ParallelRestriction> {
Copy link
Member

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?

Copy link
Member Author

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.

@torkleyy
Copy link
Member

Thanks, looks good to me. r? @Xaeroxe @WaDelma


Reviewed 2 of 3 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@torkleyy
Copy link
Member

bors delegate=@Aceeri

I think it's fine as is, please merge as soon as you get another approval.

@bors
Copy link
Contributor

bors bot commented Dec 12, 2017

✌️ Aceeri can now approve this pull request

Copy link
Member

@Xaeroxe Xaeroxe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Aceeri
Copy link
Member Author

Aceeri commented Dec 12, 2017

Going to finish up the other pr later today.

bors r+

bors bot added a commit that referenced this pull request Dec 12, 2017
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 -->
@bors
Copy link
Contributor

bors bot commented Dec 12, 2017

Build succeeded

@bors bors bot merged commit 9e384ec into amethyst:master Dec 12, 2017
@Aceeri Aceeri deleted the immutable_restricted branch December 13, 2017 04:17
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.

No way to obain a RestrictStorage for &Storage
3 participants