firefox/Bug-1519729-Typo-fix-in-new-doc-comment.patch

26 lines
1.1 KiB
Diff
Raw Normal View History

2020-07-27 16:48:25 +08:00
From 2b08ae08b260aa17327f811e5eaf9f7aeba3dfec Mon Sep 17 00:00:00 2001
From: lqd <remy.rakic+github@gmail.com>
Date: Fri, 11 Jan 2019 16:35:26 +0100
Subject: [PATCH] Bug 1519729 - Typo fix in new doc-comment. r=emilio
Cherry-picks a commit from https://github.com/servo/servo/pull/22674
Co-Authored-By: SimonSapin <simon.sapin@exyr.org>
---
servo/components/style_traits/values.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/servo/components/style_traits/values.rs b/servo/components/style_traits/values.rs
index 0d7ee3f506ce2..582e34eb3db03 100644
--- a/servo/components/style_traits/values.rs
+++ b/servo/components/style_traits/values.rs
@@ -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);
-/// Define an enum type with unit variants that each corrsepond to a CSS keyword.
+/// Define an enum type with unit variants that each correspond to a CSS keyword.
macro_rules! define_css_keyword_enum {
(pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {
#[allow(missing_docs)]