diff --git a/stateContents.go b/stateContents.go index 1bc5043..ecf3887 100644 --- a/stateContents.go +++ b/stateContents.go @@ -1,7 +1,5 @@ package main -import "slices" - type stateContents []int // Represents the contents of the current state - character classes can have multiple contents, which is why it is represented as a slice func newContents(data ...int) stateContents { @@ -19,8 +17,3 @@ func rune2Contents(data []rune) stateContents { // Convert a rune slice into a s } return toReturn } - -// Returns true if c contains the given value -func (c stateContents) contains(val int) bool { - return slices.Contains(c, val) -}