Skip to content

Commit

Permalink
Change to other to match Rust SDK.
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Lamb <[email protected]>
  • Loading branch information
kinyoklion committed Jan 29, 2024
1 parent fdf66d7 commit 7c547f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ enum Reason {
Unknown,
Stale,
Error,
Custom(String)
Other(String)
}

let myReason = Reason::Custom("my-reason".to_string());
let myReason = Reason::Other("my-reason".to_string());
```

> [!NOTE]
Expand Down

0 comments on commit 7c547f6

Please sign in to comment.