From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- servo/components/style_traits/values.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'servo/components/style_traits/values.rs') 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(&mut self, f: F) -> fmt::Result + pub fn write_item(&mut self, f: F) -> fmt::Result where F: FnOnce(&mut CssWriter<'b, W>) -> fmt::Result, { -- cgit v1.2.3