Fix a couple of doc typos (#17673)

# Objective

Fix two minor typos in bevy_picking docs.
This commit is contained in:
theotherphil 2025-02-05 19:29:22 +00:00 committed by GitHub
parent 03af547c28
commit ca6b07c348
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,7 +72,7 @@ pub struct Pointer<E: Debug + Clone + Reflect> {
pub event: E,
}
/// A traversal query (eg it implements [`Traversal`]) intended for use with [`Pointer`] events.
/// A traversal query (i.e. it implements [`Traversal`]) intended for use with [`Pointer`] events.
///
/// This will always traverse to the parent, if the entity being visited has one. Otherwise, it
/// propagates to the pointer's window and stops there.
@ -143,7 +143,7 @@ impl<E: Debug + Clone + Reflect> Pointer<E> {
}
}
/// Fires when a pointer is canceled, and it's current interaction state is dropped.
/// Fires when a pointer is canceled, and its current interaction state is dropped.
#[derive(Clone, PartialEq, Debug, Reflect)]
pub struct Cancel {
/// Information about the picking intersection.