summaryrefslogtreecommitdiffstats
path: root/widget/src/text/rich.rs
diff options
context:
space:
mode:
authorLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
committerLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
commit7a86900a45116994a4a175c8979550b28ec0dcfb (patch)
tree4318ba0219282b246606b37c2344ac4efb5323a3 /widget/src/text/rich.rs
parentafecc0f367aff12fa353c8158fac3098ffe40136 (diff)
downloadiced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.gz
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.bz2
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.zip
Fix various typos
Using https://github.com/crate-ci/typos
Diffstat (limited to 'widget/src/text/rich.rs')
-rw-r--r--widget/src/text/rich.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/text/rich.rs b/widget/src/text/rich.rs
index 921c55a5..3d241375 100644
--- a/widget/src/text/rich.rs
+++ b/widget/src/text/rich.rs
@@ -72,7 +72,7 @@ where
self
}
- /// Sets the defualt [`LineHeight`] of the [`Rich`] text.
+ /// Sets the default [`LineHeight`] of the [`Rich`] text.
pub fn line_height(mut self, line_height: impl Into<LineHeight>) -> Self {
self.line_height = line_height.into();
self