From 112cb601c4d947cf47ae2f96ccf8ccea58af5ef0 Mon Sep 17 00:00:00 2001 From: Taki-Ta Date: Wed, 22 May 2024 20:24:28 +0800 Subject: [PATCH] chore: fix typos --- src/doc.rs | 6 +++--- src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/doc.rs b/src/doc.rs index 5ab4b12..9927ab8 100644 --- a/src/doc.rs +++ b/src/doc.rs @@ -109,7 +109,7 @@ impl EpubDoc> { /// 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 /// @@ -137,7 +137,7 @@ impl EpubDoc { /// 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 /// @@ -575,7 +575,7 @@ impl EpubDoc { } /// 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 diff --git a/src/lib.rs b/src/lib.rs index 9aacc1c..ec51648 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ //! //! ``` //! -//! ## Getting doc metatada +//! ## Getting doc metadata //! //! Metadata is a [`HashMap`](std::collections::HashMap) storing all metadata defined in the epub //!