Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Taki-Ta committed May 22, 2024
1 parent 6f2770b commit 112cb60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl EpubDoc<BufReader<File>> {
/// Opens the epub file in `path`.
///
/// Initialize some internal variables to be able to access to the epub
/// spine definition and to navigate trhough the epub.
/// spine definition and to navigate through the epub.
///
/// # Examples
///
Expand Down Expand Up @@ -137,7 +137,7 @@ impl<R: Read + Seek> EpubDoc<R> {
/// Opens the epub contained in `reader`.
///
/// Initialize some internal variables to be able to access to the epub
/// spine definition and to navigate trhough the epub.
/// spine definition and to navigate through the epub.
///
/// # Examples
///
Expand Down Expand Up @@ -575,7 +575,7 @@ impl<R: Read + Seek> EpubDoc<R> {
}

/// Function to convert a resource path to a chapter number in the spine
/// If the resourse isn't in the spine list, None will be returned
/// If the resource isn't in the spine list, None will be returned
///
/// This method is useful to convert a toc [`NavPoint`] content to a chapter number
/// to be able to navigate easily
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//!
//! ```
//!
//! ## Getting doc metatada
//! ## Getting doc metadata
//!
//! Metadata is a [`HashMap`](std::collections::HashMap) storing all metadata defined in the epub
//!
Expand Down

0 comments on commit 112cb60

Please sign in to comment.