From 3f5a3cd9475d45d11a424e5593b32195bb6825b3 Mon Sep 17 00:00:00 2001 From: Artie Kushner <34076599+rtviii@users.noreply.github.com> Date: Wed, 27 Apr 2022 18:31:21 -0700 Subject: [PATCH 1/2] Update item.rs --- packages/storage-plus/src/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/storage-plus/src/item.rs b/packages/storage-plus/src/item.rs index 312a87fef..78ec3b73e 100644 --- a/packages/storage-plus/src/item.rs +++ b/packages/storage-plus/src/item.rs @@ -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 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], From 057786e329a033df1ac0e3e38acd24d51ce48d28 Mon Sep 17 00:00:00 2001 From: Artie Kushner <34076599+rtviii@users.noreply.github.com> Date: Thu, 28 Apr 2022 10:48:22 -0700 Subject: [PATCH 2/2] Update packages/storage-plus/src/item.rs Co-authored-by: Jakub Bogucki --- packages/storage-plus/src/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/storage-plus/src/item.rs b/packages/storage-plus/src/item.rs index 78ec3b73e..865fd534e 100644 --- a/packages/storage-plus/src/item.rs +++ b/packages/storage-plus/src/item.rs @@ -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 the same way Path does but doesn't use 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],