Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Feb 13, 2022
1 parent e93d993 commit 2d47e30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Expand Up @@ -48,3 +48,6 @@ required-features = ["history"]
[[example]]
name = "completion"
required-features = ["completion"]

[workspace.metadata.workspaces]
no_individual_tags = true
1 change: 1 addition & 0 deletions src/prompts/select.rs
Expand Up @@ -73,6 +73,7 @@ impl Select<'_> {
self.default = val;
self
}

/// Sets an optional max length for a page.
///
/// Max length is disabled by None
Expand Down
1 change: 1 addition & 0 deletions src/prompts/sort.rs
Expand Up @@ -66,6 +66,7 @@ impl Sort<'_> {
self.max_length = Some(val + 2);
self
}

/// Add a single item to the selector.
pub fn item<T: ToString>(&mut self, item: T) -> &mut Self {
self.items.push(item.to_string());
Expand Down

0 comments on commit 2d47e30

Please sign in to comment.