From 2d56e3c5e245bf8824bf0ea8f1f1a05cb9716dc5 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 28 Jan 2023 16:56:28 +0100 Subject: [PATCH] Fix typos --- library/src/math/style.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/src/math/style.rs b/library/src/math/style.rs index cebb15342..d10230f96 100644 --- a/library/src/math/style.rs +++ b/library/src/math/style.rs @@ -289,7 +289,7 @@ pub struct MathStyle { pub cramped: bool, /// Whether to use bold glyphs. pub bold: bool, - /// Wherher to use italic glyphs. + /// Whether to use italic glyphs. pub italic: bool, } @@ -319,17 +319,17 @@ impl MathStyle { Self { size, ..self } } - /// This style, with `cramped` set to given value. + /// This style, with `cramped` set to the given value. pub fn with_cramped(self, cramped: bool) -> Self { Self { cramped, ..self } } - /// This style, with `bold` set to given value. + /// This style, with `bold` set to the given value. pub fn with_bold(self, bold: bool) -> Self { Self { bold, ..self } } - /// This style, with `italic` set to given value. + /// This style, with `italic` set to the given value. pub fn with_italic(self, italic: bool) -> Self { Self { italic, ..self } }