Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Apr 21, 2024
1 parent f7cfaf2 commit 14677ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ impl Executor {

let thread_limit = inner
.thread_limit
.get_or_insert_with(|| Self::max_threads())
.get_or_insert_with(Self::max_threads)
.get();

// If runnable tasks greatly outnumber idle threads and there aren't too many threads
Expand Down

0 comments on commit 14677ba

Please sign in to comment.