Skip to content

Commit

Permalink
Wording in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gpluscb committed Dec 21, 2023
1 parent eb5f0b4 commit 1133959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub enum Error<E> {
/// 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<T>` 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)]
Expand Down

0 comments on commit 1133959

Please sign in to comment.