From e3b8eaf5f8e12ed5bcc3ee542c5e3939c48ed274 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Tue, 28 Jan 2025 08:39:02 -0500 Subject: [PATCH] Removed unused function --- misc.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/misc.go b/misc.go index 690eba0..ba6191a 100644 --- a/misc.go +++ b/misc.go @@ -48,12 +48,6 @@ func isNormalChar(c rune) bool { return !slices.Contains(specialChars, c) } -func assert(cond bool) { - if cond != true { - panic("Assertion Failed") - } -} - // Ensure that the given elements are only appended to the given slice if they // don't already exist. Returns the new slice, and the number of unique items appended. func unique_append[T comparable](slc []T, items ...T) ([]T, int) {