Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Fix doc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
janhohenheim committed Feb 18, 2024
1 parent 46fc17d commit 8eecd11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn main() {
.run();
}
fn spawn_player(In(transform): In<Transform>, mut commands: Commands) { {
fn spawn_player(In(transform): In<Transform>, mut commands: Commands) {
commands.spawn((
Name::new("Spiffy the Adventurer"),
TransformBundle::from_transform(transform),
Expand Down
2 changes: 1 addition & 1 deletion src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mod blanket_impls;
/// An event that will spawn an object in the world.
/// This is the most common way to interact with the plugin.
/// `T` is the type of the object to spawn, and `D` is the type of the user-provided data.
/// Any combination of `T` and `D` used in a `SpawnEvent` must have been registered with an own [`SpewPlugin`] beforehand.
/// Any combination of `T` and `D` used in a `SpawnEvent` must have been registered with an own [`SpewPlugin`](crate::prelude::SpewPlugin) beforehand.
///
/// # Example
/// ```rust
Expand Down

0 comments on commit 8eecd11

Please sign in to comment.