Skip to content

Commit

Permalink
fixup! Improve documentation for Animator::with_target
Browse files Browse the repository at this point in the history
Wrong kind of quote
  • Loading branch information
patrickariel committed Nov 24, 2024
1 parent b316307 commit 3e65269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ impl<T: Component> Animator<T> {
}
}

/// Create a new version of this animator with the [target] set to the given entity.
/// Create a new version of this animator with the `target` set to the given entity.
pub fn with_target(mut self, entity: Entity) -> Self {
self.target = Some(entity);
self
Expand Down

0 comments on commit 3e65269

Please sign in to comment.