Skip to content

Commit

Permalink
Fix whitespace in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GarettCooper committed Jun 22, 2022
1 parent 3efd206 commit df727b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ impl World {
/// [`ComponentId`] assigned to it. [`World::init_component_with_descriptor`]
/// differs from [`World::init_component`] in that it uses a [`ComponentDescriptor`]
/// to initialize the new component type instead of statically available type information.
/// This enables the dynamic initialization of new component definitions at runtime
/// This enables the dynamic initialization of new component definitions at runtime
/// for advanced use cases.
///
///
/// While [`World::init_component_with_descriptor`] is useful in type-erased contexts,
/// the standard [`World::init_component`] function should always be used instead
/// when type information is available at compile time.
Expand Down

0 comments on commit df727b0

Please sign in to comment.