Skip to content

Commit

Permalink
raw->shared
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Jan 11, 2022
1 parent 22b4033 commit 896dffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ impl Turtle {
/// A view on this [`Turtle`]'s [`World`], which contains no [`!Send`] resources
///
/// [`!Send`]: Send
// Safety: NonSend resources cannot be added using a raw reference
// Safety: NonSend resources cannot be added using a shared reference
// to the world, so this cannot break our invariants
pub fn world_ref(&self) -> &World {
&self.world
Expand Down

0 comments on commit 896dffe

Please sign in to comment.