8000 Extend and tweak documention in select.rs and theme.rs. by grunweg · Pull Request #177 · console-rs/dialoguer · GitHub
[go: up one dir, main page]

Skip to content

Extend and tweak documention in select.rs and theme.rs. #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Two typo fixes.
  • Loading branch information
grunweg committed Jan 20, 2022
commit 332c49e024daa2b4395d09979ca139a9521d3a2a
2 changes: 1 addition & 1 deletion src/prompts/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Sort<'_> {

/// Sets an optional max length for a page
///
/// Max length is disabled by None
/// Max length is disabled by `None`
pub fn max_length(&mut self, val: usize) -> &mut Self {
// Paging subtracts two from the capacity, paging does this to
// make an offset for the page indicator. So to make sure that
Expand Down
2 changes: 1 addition & 1 deletion src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ impl Theme for ColorfulTheme {
}
}

/// Helper struct to conveniently render a theme ot a term.
/// Helper struct to conveniently render a theme to a term 481B .
pub(crate) struct TermThemeRenderer<'a> {
term: &'a Term,
theme: &'a dyn Theme,
Expand Down
0