From 20db62c5968edd8ced51978e596eccfffced2c05 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Thu, 31 Oct 2024 17:09:02 -0400 Subject: [PATCH] Got rid of function that I don't need anymore --- stateContents.go | 7 ------- 1 file changed, 7 deletions(-) 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) -}