typo in comment (#7618)

Fix a typo in comment.
This commit is contained in:
shuo 2023-02-11 02:00:14 +00:00
parent 16ce3859e3
commit c791b21d91

View File

@ -113,7 +113,7 @@ impl GlobalTransform {
///
/// This is useful if you want to "reparent" an `Entity`. Say you have an entity
/// `e1` that you want to turn into a child of `e2`, but you want `e1` to keep the
/// same global transform, even after re-partenting. You would use:
/// same global transform, even after re-parenting. You would use:
///
/// ```rust
/// # use bevy_transform::prelude::{GlobalTransform, Transform};