Skip to content
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

Fix some typos #313

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
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