diff options
Diffstat (limited to 'azalea/src/entity_ref/mod.rs')
| -rw-r--r-- | azalea/src/entity_ref/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/entity_ref/mod.rs b/azalea/src/entity_ref/mod.rs index d604fe00..e09852c1 100644 --- a/azalea/src/entity_ref/mod.rs +++ b/azalea/src/entity_ref/mod.rs @@ -57,9 +57,9 @@ impl EntityRef { /// # Examples /// /// ``` - /// # use azalea_world::InstanceName; + /// # use azalea_world::WorldName; /// # fn example(client: &azalea::Client) { - /// let world_name = client.component::<InstanceName>(); + /// let world_name = client.component::<WorldName>(); /// # } pub fn component<T: Component>(&self) -> MappedRwLockReadGuard<'_, T> { self.client.entity_component(self.entity) |
