summaryrefslogtreecommitdiff
path: root/library/src/text/shift.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/shift.rs
parent48c25f4da01aa5cbd5e49145f591c85b676e8a54 (diff)
Use third person in documentation (#1560)
Diffstat (limited to 'library/src/text/shift.rs')
-rw-r--r--library/src/text/shift.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/text/shift.rs b/library/src/text/shift.rs
index cdf18caf..65e309e1 100644
--- a/library/src/text/shift.rs
+++ b/library/src/text/shift.rs
@@ -1,7 +1,7 @@
use super::{variant, SpaceElem, TextElem, TextSize};
use crate::prelude::*;
-/// Set text in subscript.
+/// Renders text in subscript.
///
/// The text is rendered smaller and its baseline is lowered.
///
@@ -64,7 +64,7 @@ impl Show for SubElem {
}
}
-/// Set text in superscript.
+/// Renders text in superscript.
///
/// The text is rendered smaller and its baseline is raised.
///