Skip to content

Commit

Permalink
Merge pull request #684 from striezel-stash/fix-typos
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
gwenn authored Feb 20, 2023
2 parents c443848 + 3075c05 commit 6091250
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub trait History {

/// Return the history entry at position `index`, starting from 0.
///
/// `SearchDirection` is usefull only for implementations without direct
/// `SearchDirection` is useful only for implementations without direct
/// indexing.
fn get(&self, index: usize, dir: SearchDirection) -> Result<Option<SearchResult>>;

Expand Down
2 changes: 1 addition & 1 deletion src/sqlite_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl SQLiteHistory {
Self::new(config, None)
}

/// Open specifed database
/// Open specified database
pub fn open<P: AsRef<Path> + ?Sized>(config: Config, path: &P) -> Result<Self> {
Self::new(config, normalize(path.as_ref()))
}
Expand Down

0 comments on commit 6091250

Please sign in to comment.