summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Wilson <jo.alex.w@gmail.com>2023-12-05 00:54:12 +1300
committerGitHub <noreply@github.com>2023-12-04 12:54:12 +0100
commitb8b1a92151c4d092bbc6ec732483d72b86e8dd86 (patch)
treefee95680151aa9b0aae19d7ad149eb3e2f886404
parent962108d16845e6b2d66f4f82e5134003969aec72 (diff)
Update emph.rs docstring (#2847)
-rw-r--r--crates/typst/src/model/emph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/model/emph.rs b/crates/typst/src/model/emph.rs
index de7b8bef..1224246e 100644
--- a/crates/typst/src/model/emph.rs
+++ b/crates/typst/src/model/emph.rs
@@ -3,7 +3,7 @@ use crate::engine::Engine;
use crate::foundations::{elem, Content, Show, StyleChain};
use crate::text::{ItalicToggle, TextElem};
-/// Emphasizes content by setting it in italics.
+/// Emphasizes content by toggling italics.
///
/// - If the current [text style]($text.style) is `{"normal"}`, this turns it
/// into `{"italic"}`.