Skip to content

Commit 332c49e

Browse files
committed
Two typo fixes.
1 parent 2d47e30 commit 332c49e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/prompts/sort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl Sort<'_> {
5757

5858
/// Sets an optional max length for a page
5959
///
60-
/// Max length is disabled by None
60+
/// Max length is disabled by `None`
6161
pub fn max_length(&mut self, val: usize) -> &mut Self {
6262
// Paging subtracts two from the capacity, paging does this to
6363
// make an offset for the page indicator. So to make sure that

src/theme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ impl Theme for ColorfulTheme {
619619
}
620620
}
621621

622-
/// Helper struct to conveniently render a theme ot a term.
622+
/// Helper struct to conveniently render a theme to a term.
623623
pub(crate) struct TermThemeRenderer<'a> {
624624
term: &'a Term,
625625
theme: &'a dyn Theme,

0 commit comments

Comments
 (0)