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

Fix description of enums supported by contract types #703

Merged
merged 2 commits into from
Jan 17, 2024
Merged
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
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