Skip to content

Commit e97756c

Browse files
committed
fix format
1 parent ff781ea commit e97756c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

winit-core/src/event.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ pub enum WindowEvent {
274274
/// The `phase` field indicates the lifecycle of the hold gesture:
275275
/// - `Started`: One or more fingers are in contact with the touchpad/touchscreen.
276276
/// - `Ended`: All fingers have been lifted from the touchpad/touchscreen.
277-
/// - `Cancelled`: The hold gesture was interrupted, for example when another finger
278-
/// touches the touchpad (causing a new `Started` event with more fingers), or when
279-
/// movement begins and transitions to other gestures like pinch, pan, or rotation.
277+
/// - `Cancelled`: The hold gesture was interrupted, for example when another finger touches the
278+
/// touchpad (causing a new `Started` event with more fingers), or when movement begins and
279+
/// transitions to other gestures like pinch, pan, or rotation.
280280
///
281281
/// ## Platform-specific
282282
///
@@ -1020,7 +1020,8 @@ pub enum Ime {
10201020
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
10211021
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
10221022
pub enum TouchPhase {
1023-
/// Initial touch contact or gesture start, for example when one or more fingers touch the screen or touchpad.
1023+
/// Initial touch contact or gesture start, for example when one or more fingers touch the
1024+
/// screen or touchpad.
10241025
Started,
10251026
/// The touch contact point changed, for example without lifting the finger.
10261027
Moved,

0 commit comments

Comments
 (0)