summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAdrián Delgado <11708972+adriandelgado@users.noreply.github.com>2023-07-26 15:18:06 -0500
committerGitHub <noreply@github.com>2023-07-26 22:18:06 +0200
commit7341bdf2d1b605438fa64d04acf5f4e25df2a444 (patch)
tree73e219046e5360070b63425cd45c928178f581fb /crates
parent69e16a88774feb92e7491ac61ce2e6b87a989105 (diff)
Cleanup docs (#1797)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-library/src/text/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/text/mod.rs b/crates/typst-library/src/text/mod.rs
index 6cfcb7c7..ad705ca0 100644
--- a/crates/typst-library/src/text/mod.rs
+++ b/crates/typst-library/src/text/mod.rs
@@ -141,7 +141,7 @@ pub struct TextElem {
pub weight: FontWeight,
/// The desired width of the glyphs. Accepts a ratio between `{50%}` and
- /// `{200%}`. When the desired weight is not available, Typst selects the
+ /// `{200%}`. When the desired width is not available, Typst selects the
/// font from the family that is closest in stretch. This will only stretch
/// the text if a condensed or expanded version of the font is available.
///