~mozillateam/thunderbird/thunderbird.disco

« back to all changes in this revision

Viewing changes to debian/patches/fix-missing-docs-error.patch

  • Committer: Olivier Tilloy
  • Date: 2019-07-05 21:15:42 UTC
  • Revision ID: olivier.tilloy@canonical.com-20190705211542-fj53j0vat1u83eea
* New upstream stable release (60.8.0build1)

* Add patch to fix some "error: missing documentation for macro" errors
  - debian/patch/fix-missing-docs-error.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Fix some "error: missing documentation for macro" errors.
 
2
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
 
3
 
 
4
--- a/servo/components/style_traits/values.rs
 
5
+++ b/servo/components/style_traits/values.rs
 
6
@@ -135,6 +135,7 @@ where
 
7
     }
 
8
 }
 
9
 
 
10
+/// A macro.
 
11
 #[macro_export]
 
12
 macro_rules! serialize_function {
 
13
     ($dest: expr, $name: ident($( $arg: expr, )+)) => {
 
14
@@ -404,6 +405,7 @@ impl_to_css_for_predefined_type!(::csspa
 
15
 impl_to_css_for_predefined_type!(::cssparser::Color);
 
16
 impl_to_css_for_predefined_type!(::cssparser::UnicodeRange);
 
17
 
 
18
+/// A macro.
 
19
 #[macro_export]
 
20
 macro_rules! define_css_keyword_enum {
 
21
     (pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {
 
22
--- a/servo/components/style/properties/properties.mako.rs
 
23
+++ b/servo/components/style/properties/properties.mako.rs
 
24
@@ -55,6 +55,7 @@ use style_adjuster::StyleAdjuster;
 
25
 
 
26
 pub use self::declaration_block::*;
 
27
 
 
28
+/// A macro.
 
29
 #[cfg(feature = "gecko")]
 
30
 #[macro_export]
 
31
 macro_rules! property_name {
 
32
@@ -3853,6 +3854,7 @@ impl fmt::Debug for AliasId {
 
33
 }
 
34
 
 
35
 // NOTE(emilio): Callers are responsible to deal with prefs.
 
36
+/// A macro.
 
37
 #[macro_export]
 
38
 macro_rules! css_properties_accessors {
 
39
     ($macro_name: ident) => {
 
40
@@ -3875,6 +3877,7 @@ macro_rules! css_properties_accessors {
 
41
     }
 
42
 }
 
43
 
 
44
+/// A macro.
 
45
 #[macro_export]
 
46
 macro_rules! longhand_properties_idents {
 
47
     ($macro_name: ident) => {