mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
fix(clippy): Clippy suggestions in components/script/dom/* (#33072)
Signed-off-by: Jose T. Monagas <josetmonagas@proton.me> Co-authored-by: Jose T. Monagas <josetmonagas@proton.me>
This commit is contained in:
parent
386a067c4b
commit
a34920b605
6 changed files with 16 additions and 15 deletions
|
@ -46,7 +46,7 @@ impl<'a, E: TextControlElement> TextControlSelection<'a, E> {
|
|||
}
|
||||
|
||||
// Step 2
|
||||
self.set_range(Some(0), Some(u32::max_value()), None, None);
|
||||
self.set_range(Some(0), Some(u32::MAX), None, None);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-selectionstart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue