From 24199f47018b654b8c627f910282106a73e08829 Mon Sep 17 00:00:00 2001 From: Gavin <495054021@qq.com> Date: Thu, 20 Jun 2024 22:41:59 +0800 Subject: [PATCH] Update store-ability.md (#73) the description about ability does not match the code --- book/src/storage/store-ability.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/src/storage/store-ability.md b/book/src/storage/store-ability.md index b6092b10..7256bb5c 100644 --- a/book/src/storage/store-ability.md +++ b/book/src/storage/store-ability.md @@ -14,9 +14,9 @@ put it is that the `store` ability allows the value to be _wrapped_ in an object ## Example -In previous sections we already used types with the `store` ability: all objects must have a `UID` -field, which we used in examples; we also used the `String` type as a part of the `Config` struct. -The `String` type also has the `store` ability. +In previous sections we already used types with the `key` ability: all objects must have a `UID` +field, which we used in examples; we also used the `Storable` type as a part of the `Config` struct. +The `Config` type also has the `store` ability. ```move /// This type has the `store` ability.