From ca1f749c087bc19f6fbcebcd3ee34307959a95d5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:32:55 -0400 Subject: Spelling (#5020) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- crates/typst-kit/src/fonts.rs | 2 +- crates/typst-kit/src/lib.rs | 2 +- crates/typst-kit/src/package.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/typst-kit/src') diff --git a/crates/typst-kit/src/fonts.rs b/crates/typst-kit/src/fonts.rs index 07a41f4b..8f85bfdc 100644 --- a/crates/typst-kit/src/fonts.rs +++ b/crates/typst-kit/src/fonts.rs @@ -161,7 +161,7 @@ impl FontSearcher { let path = match &face.source { Source::File(path) | Source::SharedFile(path, _) => path, // We never add binary sources to the database, so there - // shouln't be any. + // shouldn't be any. Source::Binary(_) => continue, }; diff --git a/crates/typst-kit/src/lib.rs b/crates/typst-kit/src/lib.rs index 4301727f..d0ea82ef 100644 --- a/crates/typst-kit/src/lib.rs +++ b/crates/typst-kit/src/lib.rs @@ -11,7 +11,7 @@ //! - For math: New Computer Modern Math //! - For code: Deja Vu Sans Mono //! - [download] contains functionality for making simple web requests with -//! status reporting, useful for downloading packages from package registires. +//! status reporting, useful for downloading packages from package registries. //! It is enabled by the `downloads` feature flag, additionally the //! `vendor-openssl` can be used on operating systems other than macOS and //! Windows to vendor OpenSSL when building. diff --git a/crates/typst-kit/src/package.rs b/crates/typst-kit/src/package.rs index 3c9e6529..c5c470db 100644 --- a/crates/typst-kit/src/package.rs +++ b/crates/typst-kit/src/package.rs @@ -52,13 +52,13 @@ impl PackageStorage { } } - /// Returns a the path at which non-local packages should be stored when + /// Returns the path at which non-local packages should be stored when /// downloaded. pub fn package_cache_path(&self) -> Option<&Path> { self.package_cache_path.as_deref() } - /// Returns a the path at which local packages are stored. + /// Returns the path at which local packages are stored. pub fn package_path(&self) -> Option<&Path> { self.package_path.as_deref() } -- cgit v1.2.3