Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Fix description of enums supported by contract types (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Jan 17, 2024
1 parent 2e0c478 commit f1a1d43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/soroban-internals/types/custom-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ element vector, where the first element is the name of the enum variant as a
string up to 32 characters in length, and the value is the value if the variant
has one.

Only unit variants and single value variants, like `A` and `B` below, are
supported.
Only unit variants and tuple variants, like `A` and `B` below, are supported.

```rust
#[contracttype]
Expand Down

0 comments on commit f1a1d43

Please sign in to comment.