Skip to content

Commit

Permalink
Reorder state enum
Browse files Browse the repository at this point in the history
  • Loading branch information
dfarr committed Aug 25, 2023
1 parent 3fd3ad0 commit 48a8576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/promise/promise.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ type State int

const (
Pending State = 1 << iota
Canceled
Resolved
Rejected
Timedout
Canceled
)

func (s State) String() string {
Expand Down

0 comments on commit 48a8576

Please sign in to comment.