summaryrefslogtreecommitdiff
path: root/library/src/text/misc.rs
diff options
context:
space:
mode:
authorMALO <57839069+MDLC01@users.noreply.github.com>2023-06-24 14:33:17 +0200
committerGitHub <noreply@github.com>2023-06-24 14:33:17 +0200
commitb96b7b7ee12a5d1c8e8c24c95b58b7ca03cec44b (patch)
treea8884268565be8540c509e53f0fdbccd5e73b89f /library/src/text/misc.rs
parent48c25f4da01aa5cbd5e49145f591c85b676e8a54 (diff)
Use third person in documentation (#1560)
Diffstat (limited to 'library/src/text/misc.rs')
-rw-r--r--library/src/text/misc.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/text/misc.rs b/library/src/text/misc.rs
index 2af7a212..811b027e 100644
--- a/library/src/text/misc.rs
+++ b/library/src/text/misc.rs
@@ -187,7 +187,7 @@ impl Fold for Toggle {
}
}
-/// Convert text or content to lowercase.
+/// Converts text or content to lowercase.
///
/// ## Example { #example }
/// ```example
@@ -206,7 +206,7 @@ pub fn lower(
case(text, Case::Lower)
}
-/// Convert text or content to uppercase.
+/// Converts text or content to uppercase.
///
/// ## Example { #example }
/// ```example
@@ -270,7 +270,7 @@ impl Case {
}
}
-/// Display text in small capitals.
+/// Displays text in small capitals.
///
/// _Note:_ This enables the OpenType `smcp` feature for the font. Not all fonts
/// support this feature. Sometimes smallcaps are part of a dedicated font and
@@ -303,7 +303,7 @@ pub fn smallcaps(
body.styled(TextElem::set_smallcaps(true))
}
-/// Create blind text.
+/// Creates blind text.
///
/// This function yields a Latin-like _Lorem Ipsum_ blind text with the given
/// number of words. The sequence of words generated by the function is always