diff --git a/Cargo.toml b/Cargo.toml index 554e76031b5..fc491700acc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -109,7 +109,7 @@ prodash-render-tui = ["prodash/render-tui", "prodash/render-tui-crossterm", "gix prodash-render-line = ["prodash/render-line", "prodash-render-line-crossterm", "gix/progress-tree"] ## Prints statistical information to inform about cache efficiency when those are dropped. -## Use this as a way to understand if bigger caches actually produce greater yiedls. +## Use this as a way to understand if bigger caches actually produce greater yields. cache-efficiency-debug = ["gix-features/cache-efficiency-debug"] ## A way to enable most `gitoxide-core` tools found in `ein tools`, namely `organize` and `estimate hours`. diff --git a/gix/src/lib.rs b/gix/src/lib.rs index 93292b9a92b..17b30d7893c 100644 --- a/gix/src/lib.rs +++ b/gix/src/lib.rs @@ -37,7 +37,7 @@ //! to understand which cache levels exist and how to leverage them. //! //! When accessing an object, the first cache that's queried is a memory-capped LRU object cache, mapping their id to data and kind. -//! It has to be specifically enabled a [`Repository`]. +//! It has to be specifically enabled on a [`Repository`]. //! On miss, the object is looked up and if a pack is hit, there is a small fixed-size cache for delta-base objects. //! //! In scenarios where the same objects are accessed multiple times, the object cache can be useful and is to be configured specifically