Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jul 2, 2024
1 parent ac2ce13 commit 6505cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/input_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ impl PointerState {

/// Current direction of the pointer.
///
/// This is less sensitive to bad framerate than [`velocity`].
/// This is less sensitive to bad framerate than [`Self::velocity`].
#[inline(always)]
pub fn direction(&self) -> Vec2 {
self.direction
Expand Down

0 comments on commit 6505cfa

Please sign in to comment.