Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Resource and add Debug to TaskPoolOptions (#9485)
# Objective PR #6360 changed `TaskPoolOptions` so it is no longer used as a Resource, but didn't remove the `Resource` derive. ## Solution Remove the Resource derive from `TaskPoolOptions`, as it is no longer needed. Also add a Debug derive, because it didn't have it before. --- ## Changelog - `TaskPoolOptions` no longer derives Resource, and `TaskPoolOptions` & `TaskPoolThreadAssignmentPolicy` now derive Debug. ## Migration Guide If for some reason anyone is still using `TaskPoolOptions` as a Resource, they would now have to use a wrapper type: ```rust #[derive(Resource)] pub struct MyTaskPoolOptions(pub TaskPoolOptions); ```
- Loading branch information