@@ -147,7 +147,7 @@ impl<'w> InteriorMutableWorld<'w> {
147
147
/// # Safety
148
148
/// It is the callers responsibility to ensure that
149
149
/// - the [`InteriorMutableWorld`] has permission to access the resource
150
- /// - no other mutable references to the resource exist at the same time
150
+ /// - no mutable reference to the resource exists at the same time
151
151
#[ inline]
152
152
pub unsafe fn get_resource < R : Resource > ( self ) -> Option < & ' w R > {
153
153
self . 0 . get_resource :: < R > ( )
@@ -163,7 +163,7 @@ impl<'w> InteriorMutableWorld<'w> {
163
163
/// # Safety
164
164
/// It is the callers responsibility to ensure that
165
165
/// - the [`InteriorMutableWorld`] has permission to access the resource
166
- /// - no other mutable references to the resource exist at the same time
166
+ /// - no mutable reference to the resource exists at the same time
167
167
#[ inline]
168
168
pub unsafe fn get_resource_by_id ( self , component_id : ComponentId ) -> Option < Ptr < ' w > > {
169
169
self . 0 . get_resource_by_id ( component_id)
@@ -174,7 +174,7 @@ impl<'w> InteriorMutableWorld<'w> {
174
174
/// # Safety
175
175
/// It is the callers responsibility to ensure that
176
176
/// - the [`InteriorMutableWorld`] has permission to access the resource
177
- /// - no other mutable references to the resource exist at the same time
177
+ /// - no mutable reference to the resource exists at the same time
178
178
#[ inline]
179
179
pub unsafe fn get_non_send_resource < R : ' static > ( self ) -> Option < & ' w R > {
180
180
self . 0 . get_non_send_resource ( )
@@ -193,7 +193,7 @@ impl<'w> InteriorMutableWorld<'w> {
193
193
/// # Safety
194
194
/// It is the callers responsibility to ensure that
195
195
/// - the [`InteriorMutableWorld`] has permission to access the resource
196
- /// - no other mutable references to the resource exist at the same time
196
+ /// - no mutable reference to the resource exists at the same time
197
197
#[ inline]
198
198
pub unsafe fn get_non_send_resource_by_id ( self , component_id : ComponentId ) -> Option < Ptr < ' w > > {
199
199
self . 0
0 commit comments