From e5aa3cd4f52d5ee9a1ca21000785e6e9eaa3baed Mon Sep 17 00:00:00 2001 From: Dion Dokter Date: Sun, 11 Feb 2024 01:11:14 +0100 Subject: [PATCH] fmt --- src/cache/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cache/mod.rs b/src/cache/mod.rs index 1612bb5..05acf43 100644 --- a/src/cache/mod.rs +++ b/src/cache/mod.rs @@ -385,7 +385,7 @@ impl PrivateKeyCacheImpl for PagePointerC /// An object that caches the location of the newest item with a given key. /// This cache also caches pages states and page pointers. -/// +/// /// This cache has to be kept around and passed to *every* api call to the same memory region until the cache gets discarded. /// /// Valid usecase: @@ -395,7 +395,7 @@ impl PrivateKeyCacheImpl for PagePointerC /// `Create cache 1` -> `use 1` -> `create cache 2` -> `use 2` -> `❌ use 1 ❌` /// /// Make sure the page count is correct. If the number is lower than the actual amount, the code will panic at some point. -/// +/// /// The number of key slots can be lower than the total amount of possible keys used, but this will lower /// the chance of a cache hit. /// The keys are cached in a fifo and any time its location is updated in cache it's added to the front.