summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anderson <ejona86@gmail.com>2014-07-03 13:53:38 -0700
committerEric Anderson <ejona86@gmail.com>2014-07-03 13:53:38 -0700
commit0ca2d12dc6aa86b9908938159b307491c70eb1ef (patch)
tree1897fa45ee5be492df97f29c1422dc814f3c22b4
parent651b5cc0fd8f9f3d27ed15643bc0f1f0bc6b88e8 (diff)
downloadcapset-0ca2d12dc6aa86b9908938159b307491c70eb1ef.tar.gz
capset-0ca2d12dc6aa86b9908938159b307491c70eb1ef.zip
Delete commented out code
-rw-r--r--capset.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/capset.go b/capset.go
index 89cf92d..3fcc814 100644
--- a/capset.go
+++ b/capset.go
@@ -171,19 +171,9 @@ func (d *Deck) FindCards(strArr []string) ([]Card, error) {
return cards, nil
}
-// TODO: test to make sure leading and trailing spaces cause error
func (d *Deck) FindCard(cardStr string) (card Card, ok bool) {
card, ok = d.str2card[cardStr]
return card, ok
- /*var c Card
- _, err := fmt.Sscan(cardStr, &c)
- if err != nil {
- return Card{}, false
- }
- if d.dim != int(c.dim) {
- return Card{}, false
- }
- return c, true*/
}
type Capset struct {