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

Changes AntiStorage inner to public #603

Merged
merged 1 commit into from
Jun 11, 2019
Merged

Changes AntiStorage inner to public #603

merged 1 commit into from
Jun 11, 2019

Conversation

jaynus
Copy link
Contributor

@jaynus jaynus commented Jun 11, 2019

The AntiStorage inner being private prevented any external users of specs to implement an AntiStorage type, which the blanket std::ops::Not implementation requires for allowing negative joins (!&storage).

This changes the AntiStorage inner to public, allowing external crates to now implement this appropriately

Checklist

  • I've added tests for all code changes and additions (where applicable)
  • I've added a demonstration of the new feature to one or more examples
  • I've updated the book to reflect my changes
  • Usage of new public items is shown in the API docs

API changes

AntiStorage inner is now public

…to implement AntiStorage and thus std::ops::Not
Copy link
Member

@torkleyy torkleyy left a comment

Choose a reason for hiding this comment

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

Thanks!
bors r+

bors bot added a commit that referenced this pull request Jun 11, 2019
603: Changes AntiStorage inner to public r=torkleyy a=jaynus

The AntiStorage inner being private prevented any external users of specs to implement an AntiStorage type, which the blanket std::ops::Not implementation requires for allowing negative joins (!&storage). 

This changes the AntiStorage inner to public, allowing external crates to now implement this appropriately

## Checklist

* [x] I've added tests for all code changes and additions (where applicable)
* [ ] I've added a demonstration of the new feature to one or more examples
* [ ] I've updated the book to reflect my changes
* [ ] Usage of new public items is shown in the API docs

## API changes

AntiStorage inner is now public


Co-authored-by: Walter Pearce <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 11, 2019

Build succeeded

@bors bors bot merged commit dcb2db5 into amethyst:master Jun 11, 2019
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