Skip to content

Commit

Permalink
Clippy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Indra-db committed Nov 16, 2024
1 parent 728c03f commit e2fc48c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flecs_ecs/src/addons/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ pub trait Doc<'a>: WorldProvider<'a> + Into<Entity> + Clone {
/// * [`World::doc_uuid()`]
/// * [`World::doc_uuid_id()`]
/// * [`Doc::doc_uuid()`]
/// C++ API: `entity_builder::set_doc_uuid`
/// * C++ API: `entity_builder::set_doc_uuid`
#[doc(alias = "entity_builder::set_doc_uuid")]
fn set_doc_uuid(&self, uuid: &str) -> &Self {
self.world().set_doc_uuid_id(self.clone(), uuid);
Expand Down Expand Up @@ -763,7 +763,7 @@ impl World {
/// * [`World::doc_uuid()`]
/// * [`World::doc_uuid_id()`]
/// * [`Doc::doc_uuid()`]
/// C++ API: `entity_builder::set_doc_uuid`
/// * C++ API: `entity_builder::set_doc_uuid`
#[doc(alias = "entity_builder::set_doc_uuid")]
fn set_doc_uuid<T: ComponentId>(&self, uuid: &str) {
self.set_doc_uuid_id(T::get_id(self), uuid);
Expand Down
2 changes: 1 addition & 1 deletion flecs_ecs/src/core/table/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ where
);
let target = EntityView::new_from(self.world(), ecs_second(id));
func(target);
i = i + 1;
i += 1;
}
}
}
Expand Down

0 comments on commit e2fc48c

Please sign in to comment.