We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 096c3b4 commit f80fa50Copy full SHA for f80fa50
1 file changed
framework_crates/bones_ecs/src/world.rs
@@ -179,7 +179,7 @@ impl World {
179
}
180
181
/// Borrow a resource from the world, if it exists.
182
- pub fn get_resource_mut<T: HasSchema>(&mut self) -> Option<RefMut<T>> {
+ pub fn get_resource_mut<T: HasSchema>(&self) -> Option<RefMut<T>> {
183
self.resources.get_mut()
184
185
0 commit comments