Skip to content

Commit

Permalink
Update store-ability.md
Browse files Browse the repository at this point in the history
the description about ability does not match the code
  • Loading branch information
yjshi2015 authored Jun 5, 2024
1 parent d28a6a5 commit 0896fc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/src/storage/store-ability.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0896fc5

Please sign in to comment.