style: fix some rust-nightly warnings about unused doc comments.

Differential Revision: https://phabricator.services.mozilla.com/D24287
This commit is contained in:
Emilio Cobos Álvarez 2019-03-20 22:47:30 +00:00
parent cf5a2acdf1
commit 39df092bce
3 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,7 @@ thread_local! {
/// such that they can be reused across style traversals. StyleBloom is responsible
/// for ensuring that the bloom filter is zeroed when it is dropped.
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

View file

@ -545,7 +545,6 @@ macro_rules! font_face_descriptors {
}
}
// css-name rust_identifier: Type,
#[cfg(feature = "gecko")]
font_face_descriptors! {
mandatory descriptors = [

View file

@ -369,8 +369,8 @@ fn eval_prefers_color_scheme(device: &Device, query_value: Option<PrefersColorSc
}
}
/// https://drafts.csswg.org/mediaqueries-4/#mf-interaction
bitflags! {
/// https://drafts.csswg.org/mediaqueries-4/#mf-interaction
struct PointerCapabilities: u8 {
const COARSE = structs::PointerCapabilities_Coarse;
const FINE = structs::PointerCapabilities_Fine;