summaryrefslogtreecommitdiffstats
path: root/core/src/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/text.rs')
-rw-r--r--core/src/text.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/text.rs b/core/src/text.rs
index d7b7fee4..a9e3dce5 100644
--- a/core/src/text.rs
+++ b/core/src/text.rs
@@ -411,13 +411,13 @@ impl<'a, Link, Font> Span<'a, Link, Font> {
self
}
- /// Sets whether the [`Span`] shoud be underlined or not.
+ /// Sets whether the [`Span`] should be underlined or not.
pub fn underline(mut self, underline: bool) -> Self {
self.underline = underline;
self
}
- /// Sets whether the [`Span`] shoud be struck through or not.
+ /// Sets whether the [`Span`] should be struck through or not.
pub fn strikethrough(mut self, strikethrough: bool) -> Self {
self.strikethrough = strikethrough;
self