Skip to content

Commit

Permalink
Merge pull request #713 from rtviii/patch-1
Browse files Browse the repository at this point in the history
Update item.rs: typo
  • Loading branch information
ueco-jb authored Apr 29, 2022
2 parents 44df93f + 057786e commit e19fc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storage-plus/src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::helpers::{may_deserialize, must_deserialize};

/// Item stores one typed item at the given key.
/// This is an analog of Singleton.
/// It functions just as Path but doesn't ue a Vec and thus has a const fn constructor.
/// It functions the same way as Path does but doesn't use a Vec and thus has a const fn constructor.
pub struct Item<'a, T> {
// this is full key - no need to length-prefix it, we only store one item
storage_key: &'a [u8],
Expand Down

0 comments on commit e19fc2c

Please sign in to comment.