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

Remove LayerSet::get_or_create #255

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Conversation

madig
Copy link
Collaborator

@madig madig commented Jan 26, 2022

As noted in #254 (comment), I think the method serves no valuable purpose currently but expands the surface for API mistakes. Remove it for now; it can be added back when we find a good use case.

@github-actions
Copy link

🗜 Bloat check ⚖️

Comparing f9f5006 against a309e93

target old size new size difference
target/release/examples/load_save 1.9 MB 1.9 MB 560 Bytes (0.03%)
target/debug/examples/load_save 8.59 MB 8.59 MB ---

@cmyr
Copy link
Member

cmyr commented Jan 26, 2022

Agreed. I think I added this for use in Runebender, but it would be easier for me to just have a separate helper function to handle this on my side.

@madig madig merged commit 3444ad3 into master Jan 26, 2022
@madig madig deleted the remove-layerset-get_or_create branch January 26, 2022 18:49
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