mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting * Reformat all imports
This commit is contained in:
parent
413da4ca69
commit
aad2dccc9c
802 changed files with 6861 additions and 6395 deletions
|
@ -4,18 +4,20 @@
|
|||
|
||||
//! Common handling of keyboard input and state management for text input controls
|
||||
|
||||
use crate::clipboard_provider::ClipboardProvider;
|
||||
use crate::dom::bindings::str::DOMString;
|
||||
use crate::dom::compositionevent::CompositionEvent;
|
||||
use crate::dom::keyboardevent::KeyboardEvent;
|
||||
use keyboard_types::{Key, KeyState, Modifiers, ShortcutMatcher};
|
||||
use std::borrow::ToOwned;
|
||||
use std::cmp::min;
|
||||
use std::default::Default;
|
||||
use std::ops::{Add, AddAssign, Range};
|
||||
use std::usize;
|
||||
|
||||
use keyboard_types::{Key, KeyState, Modifiers, ShortcutMatcher};
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
use crate::clipboard_provider::ClipboardProvider;
|
||||
use crate::dom::bindings::str::DOMString;
|
||||
use crate::dom::compositionevent::CompositionEvent;
|
||||
use crate::dom::keyboardevent::KeyboardEvent;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
pub enum Selection {
|
||||
Selected,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue