Update emph.rs docstring (#2847)

This commit is contained in:
Joseph Wilson 2023-12-05 00:54:12 +13:00 committed by GitHub
parent 962108d168
commit b8b1a92151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"}`.