From 0ca2d12dc6aa86b9908938159b307491c70eb1ef Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 3 Jul 2014 13:53:38 -0700 Subject: Delete commented out code --- capset.go | 10 ---------- 1 file changed, 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 { -- cgit v1.2.3-70-g09d2