Skip to content

Commit

Permalink
complete method docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lean-apple committed Nov 8, 2022
1 parent 330d942 commit d9f4b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/storage/src/lazy/mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ where
{
/// Insert the given `value` to the contract storage.
///
/// Returns the size of the pre-existing value at the specified key if any.
/// Returns the size in bytes of the pre-existing value at the specified key if any.
#[inline]
pub fn insert<Q, R>(&mut self, key: Q, value: &R) -> Option<u32>
where
Expand Down

0 comments on commit d9f4b5e

Please sign in to comment.