From d9f4b5ee1f867d00caceb761764f7f69ae696efc Mon Sep 17 00:00:00 2001 From: lean-apple Date: Tue, 8 Nov 2022 07:42:05 +0100 Subject: [PATCH] complete method docs --- crates/storage/src/lazy/mapping.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/storage/src/lazy/mapping.rs b/crates/storage/src/lazy/mapping.rs index 633aacdea04..88e77617754 100644 --- a/crates/storage/src/lazy/mapping.rs +++ b/crates/storage/src/lazy/mapping.rs @@ -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(&mut self, key: Q, value: &R) -> Option where