Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/samples/sources/programmability/dynamic-fields.move
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public struct Character has key {
}

// List of different accessories that can be attached to a character.
// They must have the `store` ability.
// They must have the `store` ability, but they do NOT need to have the `key` ability.
public struct Hat has key, store { id: UID, color: u32 }
public struct Mustache has key, store { id: UID }
public struct Mustache has store { id: UID }

#[test]
fun test_character_and_accessories() {
Expand Down