diff options
| author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2024-09-26 13:32:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-26 17:32:55 +0000 |
| commit | ca1f749c087bc19f6fbcebcd3ee34307959a95d5 (patch) | |
| tree | afa4bc0fca4b27d15b99df6da625090b0ef864f2 /crates/typst-kit | |
| parent | 3c90878460cecaaa7ac879ba0973f94705b7c062 (diff) | |
Spelling (#5020)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Diffstat (limited to 'crates/typst-kit')
| -rw-r--r-- | crates/typst-kit/Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/typst-kit/src/fonts.rs | 2 | ||||
| -rw-r--r-- | crates/typst-kit/src/lib.rs | 2 | ||||
| -rw-r--r-- | crates/typst-kit/src/package.rs | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/crates/typst-kit/Cargo.toml b/crates/typst-kit/Cargo.toml index 770722c6..de412ac8 100644 --- a/crates/typst-kit/Cargo.toml +++ b/crates/typst-kit/Cargo.toml @@ -33,7 +33,7 @@ openssl = { workspace = true, optional = true } [features] default = ["fonts", "packages"] -# Add font loading utilitites +# Add font loading utilities fonts = ["dep:fontdb", "fontdb/memmap", "fontdb/fontconfig"] # Add generic downloading utilities 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() } |
