Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
spellcheck
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
  • Loading branch information
xermicus committed Oct 30, 2023
commit 8fed9a5637caa92a1d7b25293dde3e05b1429c74
4 changes: 2 additions & 2 deletions crates/storage/src/lazy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ where

/// Try to read the `value` from the contract storage.
///
/// To succesfully retrieve the `value`, the encoded `key` and `value`
/// To successfully retrieve the `value`, the encoded `key` and `value`
/// must both fit into the static buffer together.
///
/// Returns:
Expand Down Expand Up @@ -184,7 +184,7 @@ where

/// Try to set the given `value` to the contract storage.
///
/// To succesfully store the `value`, the encoded `key` and `value`
/// To successfully store the `value`, the encoded `key` and `value`
/// must fit into the static buffer together.
pub fn try_set(&mut self, value: &V) -> ink_env::Result<()> {
let key_size = KeyType::KEY.encoded_size();
Expand Down