summaryrefslogtreecommitdiffstats
path: root/servo/components/style_traits/values.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--servo/components/style_traits/values.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/servo/components/style_traits/values.rs b/servo/components/style_traits/values.rs
index 58b50d6576..e2154f606a 100644
--- a/servo/components/style_traits/values.rs
+++ b/servo/components/style_traits/values.rs
@@ -243,8 +243,9 @@ where
Self { inner, separator }
}
+ /// Serialize the CSS Value with the specific serialization function.
#[inline]
- fn write_item<F>(&mut self, f: F) -> fmt::Result
+ pub fn write_item<F>(&mut self, f: F) -> fmt::Result
where
F: FnOnce(&mut CssWriter<'b, W>) -> fmt::Result,
{