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

Change visibility of Slab::root to public #229

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wootmatt
Copy link
Contributor

@wootmatt wootmatt commented Apr 4, 2022

Hi all,

Trying to walk down the Slab in a specific order which is hard to do without having access to Slab::root. I don't see any harm in making said function public, so I changed the visibility.

@sthornington
Copy link

Thanks! I ran into a variety of issues like this, and wound up having to mutably remove_max until empty, which is not ideal, even for off-chain.

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