Skip to content

Commit

Permalink
Remove unused Chunk.String()
Browse files Browse the repository at this point in the history
This would return an old-style format, but it's unused anyways.
  • Loading branch information
asmaloney committed Oct 11, 2021
1 parent 87d724f commit a02bfa6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions actr/chunk.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
package actr

import (
"fmt"
"strings"
)

type Chunk struct {
Name string
SlotNames []string
Expand All @@ -28,10 +23,6 @@ func (model Model) LookupChunk(chunkName string) *Chunk {
return nil
}

func (c Chunk) String() (str string) {
return fmt.Sprintf("%s( %s )", c.Name, strings.Join(c.SlotNames, " "))
}

func (c Chunk) IsInternal() bool {
return c.Name[0] == '_'
}
Expand Down

0 comments on commit a02bfa6

Please sign in to comment.