Skip to content

Commit

Permalink
Fix some typos (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel authored Mar 15, 2023
1 parent 5f55f58 commit dbf92ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/history/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::listener::HistoryListener;
use crate::location::Location;
use crate::memory::MemoryHistory;

/// A [`History`] that provides a universial API to the underlying history type.
/// A [`History`] that provides a universal API to the underlying history type.
#[derive(Clone, PartialEq, Debug)]
pub enum AnyHistory {
/// A Browser History.
Expand Down
2 changes: 1 addition & 1 deletion crates/history/src/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Location {
///
/// # Warning
///
/// Depending on the sitation, the id may or may not be sequential / incremental.
/// Depending on the situation, the id may or may not be sequential / incremental.
pub fn id(&self) -> Option<u32> {
self.id
}
Expand Down
2 changes: 1 addition & 1 deletion crates/history/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ impl MemoryHistory {
Self::default()
}

/// Creates a new [`MemoryHistory`] with entires.
/// Creates a new [`MemoryHistory`] with entries.
pub fn with_entries<'a>(entries: impl IntoIterator<Item = impl Into<Cow<'a, str>>>) -> Self {
let self_ = Self::new();

Expand Down

0 comments on commit dbf92ed

Please sign in to comment.