Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Jan 5, 2024
1 parent 464d41f commit 7559377
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/storage/src/lazy/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,10 @@ where
/// * `Ok(Some(_))` if the value was inserted successfully, containing the size in
/// bytes of the pre-existing value at the specified key if any.
/// * `Ok(None)` if the insert was successful but there was no pre-existing value.
/// * Err([ink_env::Error::BufferTooSmall]) if the encoded value exceeds the static
/// buffer size
/// * Err([ink_env::Error::KeyNotFound]) if the `index` is out of bounds.
/// * Err([ink_env::Error::ReturnError]([ink_env::ReturnErrorCode::BufferTooSmall]))
/// if the encoded value exceeds the static buffer size
/// * Err([ink_env::Error::ReturnError]([ink_env::ReturnErrorCode::KeyNotFound])) if
/// the `index` is out of bounds.
///
/// # Panics
///
Expand Down

0 comments on commit 7559377

Please sign in to comment.