From 113395907be5d05ce3f21140ffca33bf6b701698 Mon Sep 17 00:00:00 2001 From: MarRue <20143778+gpluscb@users.noreply.github.com> Date: Thu, 21 Dec 2023 18:19:00 +0100 Subject: [PATCH] Wording in docs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a1980f6..49802d6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -101,7 +101,7 @@ pub enum Error { /// The instances of `T` and `E` are cloned for every time a user requests a value or gets handed an error `E`. /// Thus, consider using an [`Arc`] for expensive to clone variants of `T` and `E`. /// -/// The cached value is stored on the stack, so you may want to consider using a [`Box`] for large `T`. +/// The internal representation uses *at least* `size_of` bytes regardless of whether a value is cached, so you might want to consider using a [`Box`] for large `T`. /// /// [`Box`]: std::boxed::Box #[derive(Debug, Default)]