Upgrade remaining components to edition 2018

This commit is contained in:
sagudev 2023-02-18 09:42:37 +01:00
parent fd79367491
commit 9c2cc05a8e
48 changed files with 102 additions and 160 deletions

View file

@ -19,12 +19,16 @@
use crate::parser::{Combinator, Component, SelectorImpl};
use crate::sink::Push;
use bitflags::bitflags;
use derive_more::{Add, AddAssign};
use servo_arc::{Arc, HeaderWithLength, ThinArc};
use smallvec::{self, SmallVec};
use std::cmp;
use std::iter;
use std::ptr;
use std::slice;
#[cfg(feature = "shmem")]
use to_shmem_derive::ToShmem;
/// Top-level SelectorBuilder struct. This should be stack-allocated by the
/// consumer and never moved (because it contains a lot of inline data that