mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: fix some rust-nightly warnings about unused doc comments.
Differential Revision: https://phabricator.services.mozilla.com/D24287
This commit is contained in:
parent
cf5a2acdf1
commit
39df092bce
3 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,7 @@ thread_local! {
|
||||||
/// such that they can be reused across style traversals. StyleBloom is responsible
|
/// such that they can be reused across style traversals. StyleBloom is responsible
|
||||||
/// for ensuring that the bloom filter is zeroed when it is dropped.
|
/// for ensuring that the bloom filter is zeroed when it is dropped.
|
||||||
static BLOOM_KEY: Arc<AtomicRefCell<BloomFilter>> =
|
static BLOOM_KEY: Arc<AtomicRefCell<BloomFilter>> =
|
||||||
Arc::new(AtomicRefCell::new(BloomFilter::new()));
|
Arc::new(AtomicRefCell::new(BloomFilter::new()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A struct that allows us to fast-reject deep descendant selectors avoiding
|
/// A struct that allows us to fast-reject deep descendant selectors avoiding
|
||||||
|
|
|
@ -545,7 +545,6 @@ macro_rules! font_face_descriptors {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// css-name rust_identifier: Type,
|
|
||||||
#[cfg(feature = "gecko")]
|
#[cfg(feature = "gecko")]
|
||||||
font_face_descriptors! {
|
font_face_descriptors! {
|
||||||
mandatory descriptors = [
|
mandatory descriptors = [
|
||||||
|
|
|
@ -369,8 +369,8 @@ fn eval_prefers_color_scheme(device: &Device, query_value: Option<PrefersColorSc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// https://drafts.csswg.org/mediaqueries-4/#mf-interaction
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
/// https://drafts.csswg.org/mediaqueries-4/#mf-interaction
|
||||||
struct PointerCapabilities: u8 {
|
struct PointerCapabilities: u8 {
|
||||||
const COARSE = structs::PointerCapabilities_Coarse;
|
const COARSE = structs::PointerCapabilities_Coarse;
|
||||||
const FINE = structs::PointerCapabilities_Fine;
|
const FINE = structs::PointerCapabilities_Fine;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue