forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
relax
Sized
bounds around change detection types (bevyengine#5917)
# Objective I wanted to run the code ```rust let reflect_resource: ReflectResource = ...; let value: Mut<dyn Reflect> = reflect_resource.reflect(world); value.deref(); // ^ ERROR: deref method doesn't exist because `dyn Reflect` doesnt satisfy `: Sized`. ``` ## Solution Relax `Sized` bounds in all the methods and trait implementations for `Mut` and friends.
- Loading branch information
1 parent
fd5d7c6
commit 8acfb64
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters