mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #297] [CLOSED] fix: check if parallelism is supported before using rayon #407
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/297
Author: @omentic
Created: 1/16/2023
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
ef8cb0bfix: check if parallelism is supported before using rayon📊 Changes
2 files changed (+31 additions, -6 deletions)
View changed files
📝
src/dir_walker.rs(+30 -5)📝
src/main.rs(+1 -1)📄 Description
Closes #296.
I'm pretty new to Rust. If there's a better way to do this - especially if there's a one-liner to only apply
.par_bridge()ifparallelismis true - please let me know and I'll change it!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.