pull/432/head
Darien Raymond 2017-04-14 21:38:07 +02:00
parent 94e01672d7
commit 0ef9143ffd
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ var (
type State int32
func (v State) Is(states ...State) bool {
func (s State) Is(states ...State) bool {
for _, state := range states {
if v == state {
if s == state {
return true
}
}