Skip to content

Commit

Permalink
Clarify unit as bytes for size getter of mapping (#1735)
Browse files Browse the repository at this point in the history
  • Loading branch information
wottpal authored Apr 12, 2023
1 parent 46e4c4c commit 1f9d447
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 @@ -175,7 +175,7 @@ where
.unwrap_or_else(|error| panic!("Failed to take value in Mapping: {error:?}"))
}

/// Get the size of a value stored at `key` in the contract storage.
/// Get the size in bytes of a value stored at `key` in the contract storage.
///
/// Returns `None` if no `value` exists at the given `key`.
#[inline]
Expand Down

0 comments on commit 1f9d447

Please sign in to comment.