aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-a-bug1502799
blob: 105da6a3e21cfcd1daf22f924c5521d5766ad9f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
commit f57498276d74
Author: Andrea Marchesini <amarchesini@mozilla.com>
Date:   Wed May 15 22:00:00 2019 -0700

    Bug 1502799 - Reintroduce serialize_function, disabled by mistake by previous patches, r=emilio
---
 servo/components/style/gecko_string_cache/namespace.rs | 1 -
 servo/components/style_traits/values.rs                | 3 ---
 2 files changed, 4 deletions(-)

diff --git servo/components/style/gecko_string_cache/namespace.rs servo/components/style/gecko_string_cache/namespace.rs
index 71d2fce8ff6b..92288574e145 100644
--- servo/components/style/gecko_string_cache/namespace.rs
+++ servo/components/style/gecko_string_cache/namespace.rs
@@ -11,7 +11,6 @@ use std::fmt;
 use std::ops::Deref;
 use string_cache::{Atom, WeakAtom};
 
-/// aaa
 #[macro_export]
 macro_rules! ns {
     () => { $crate::string_cache::Namespace(atom!("")) };
diff --git servo/components/style_traits/values.rs servo/components/style_traits/values.rs
index 40209772a790..d6bd05b7b40e 100644
--- servo/components/style_traits/values.rs
+++ servo/components/style_traits/values.rs
@@ -135,7 +135,6 @@ where
     }
 }
 
-/*
 #[macro_export]
 macro_rules! serialize_function {
     ($dest: expr, $name: ident($( $arg: expr, )+)) => {
@@ -153,7 +152,6 @@ macro_rules! serialize_function {
         }
     }
 }
-*/
 
 /// Convenience wrapper to serialise CSS values separated by a given string.
 pub struct SequenceWriter<'a, 'b: 'a, W: 'b> {
@@ -406,7 +404,6 @@ impl_to_css_for_predefined_type!(::cssparser::RGBA);
 impl_to_css_for_predefined_type!(::cssparser::Color);
 impl_to_css_for_predefined_type!(::cssparser::UnicodeRange);
 
-/// Define an enum type with unit variants that each correspond to a CSS keyword.
 #[macro_export]
 macro_rules! define_css_keyword_enum {
     (pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {