From 099f07ebacfd6ad5c6386eeee619b5ab2eaec57c Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 9 Dec 2024 00:24:46 +0100 Subject: [PATCH] Fix grammar mistake --- src/element.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/element.rs b/src/element.rs index b981a81..144b64a 100644 --- a/src/element.rs +++ b/src/element.rs @@ -340,7 +340,7 @@ impl Attr { Self::new("id", id) } - /// Create (or append) to a `class` attribute. + /// Create (or append to) a `class` attribute. /// /// `Attr::class(class)` is equivalent to /// `Attr::append("class", class, " ")`. @@ -348,7 +348,7 @@ impl Attr { Self::append("class", class, " ") } - /// Create (or append) to a `style` attribute. + /// Create (or append to) a `style` attribute. /// /// `Attr::style(style)` is equivalent to /// `Attr::append("style", style, ";")`.