Skip to content

Commit

Permalink
Documentation tweaks
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Fackler <afck@users.noreply.github.com>
Signed-off-by: James Kay <twey@twey.co.uk>
  • Loading branch information
Twey and afck authored Sep 2, 2024
1 parent c06917f commit 7061052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linera-client/src/persistent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ pub use memory::Memory;
pub trait LocalPersist: Deref {
type Error: std::error::Error + Send + Sync + 'static;

/// Get a mutable reference to the value. This is not expressed as a
/// Gets a mutable reference to the value. This is not expressed as a
/// [`DerefMut`](std::ops::DerefMut) bound because it is discouraged to consume this
/// function! Instead, use `mutate`.
/// function! Instead, use `mutate`.
fn as_mut(&mut self) -> &mut Self::Target;

/// Saves the value to persistent storage.
Expand Down

0 comments on commit 7061052

Please sign in to comment.