From b8b1a92151c4d092bbc6ec732483d72b86e8dd86 Mon Sep 17 00:00:00 2001 From: Joseph Wilson Date: Tue, 5 Dec 2023 00:54:12 +1300 Subject: [PATCH] Update emph.rs docstring (#2847) --- crates/typst/src/model/emph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst/src/model/emph.rs b/crates/typst/src/model/emph.rs index de7b8bef2..1224246e5 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"}`.