Skip to content

Change visibility of Slab::root to public#229

Open
wootmatt wants to merge 2 commits intoproject-serum:masterfrom
wootmatt:master
Open

Change visibility of Slab::root to public#229
wootmatt wants to merge 2 commits intoproject-serum:masterfrom
wootmatt:master

Conversation

@wootmatt
Copy link
Copy Markdown
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
Copy Markdown

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