Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon01 committed Sep 1, 2023
1 parent 63794ae commit 29d556e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ pub struct BasicHistory {
impl BasicHistory {
/// Creates a new basic history value which has no limit on the number of
/// entries and allows for duplicates.
///
///
/// # Example
///
///
/// A history with at most 8 entries and no duplicates:
///
///
/// ```rs
/// let mut history = BasicHistory::new().max_entries(8).no_duplicates(true);
/// ```
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub use completion::Completion;
pub use edit::Editor;
pub use error::{Error, Result};
#[cfg(feature = "history")]
pub use history::{History, BasicHistory};
pub use history::{BasicHistory, History};
use paging::Paging;
pub use validate::Validator;

Expand Down
1 change: 0 additions & 1 deletion src/prompts/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use crate::{

type ValidatorCallback<'a, T> = Box<dyn FnMut(&T) -> Option<String> + 'a>;


/// Renders an input prompt.
///
/// ## Example
Expand Down

0 comments on commit 29d556e

Please sign in to comment.