Document public macros.

Undocumented public macros emit warnings in nightly-2019-01-11,
and we #![deny] that warning.
This commit is contained in:
Simon Sapin 2019-01-11 14:03:44 +01:00
parent 9b98beb769
commit 3a710f22ed
2 changed files with 17 additions and 2 deletions

View file

@ -432,7 +432,7 @@ impl_to_css_for_predefined_type!(::cssparser::RGBA);
impl_to_css_for_predefined_type!(::cssparser::Color);
impl_to_css_for_predefined_type!(::cssparser::UnicodeRange);
#[macro_export]
/// Define an enum type with unit variants that each corrsepond to a CSS keyword.
macro_rules! define_css_keyword_enum {
(pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {
#[allow(missing_docs)]