Update picking::events module docs (#17055)

Updates some out of date docs.
This commit is contained in:
Aevyrie 2024-12-30 16:46:15 -08:00 committed by GitHub
parent ac43d5c94f
commit f3da36c181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
//!
//! # Usage
//!
//! To receive events from this module, you must use an [`Observer`]
//! To receive events from this module, you must use an [`Observer`] or [`EventReader`] with [`Pointer<E>`] events.
//! The simplest example, registering a callback when an entity is hovered over by a pointer, looks like this:
//!
//! ```rust
@ -35,7 +35,7 @@
//! + Dragging and dropping: [`DragStart`], [`Drag`], [`DragEnd`], [`DragEnter`], [`DragOver`], [`DragDrop`], [`DragLeave`].
//!
//! When received by an observer, these events will always be wrapped by the [`Pointer`] type, which contains
//! general metadata about the pointer and it's location.
//! general metadata about the pointer event.
use core::fmt::Debug;