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

Swap num_cpus for available_parallelism #93

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

CosmicHorrorDev
Copy link
Contributor

num_cpus shouldn't be needed since available_parallelism() has been stable since Rust 1.59

Copy link
Owner

@solidiquis solidiquis left a comment

Choose a reason for hiding this comment

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

Thanks for pointing this out! Honestly had no idea. Left some small feedback based on my personal preferences for organization.

src/render/context/mod.rs Outdated Show resolved Hide resolved
src/render/context/mod.rs Outdated Show resolved Hide resolved
@solidiquis
Copy link
Owner

Awesome. I'll get this merged in shortly. Thanks for the contribution! Nice username also.. checkout tests/data if you haven't already. You might get a kick out of it :)

@solidiquis solidiquis merged commit bd15910 into solidiquis:master Mar 21, 2023
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