diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-05 23:14:19 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-27 16:43:47 +0100 |
| commit | 1a2ee6899d8243c5f55f48fe48ef73f3f2507e35 (patch) | |
| tree | 1f60c8230bc862f73077fec140c0a9c3890b63c7 /go/game/targets.go | |
| parent | e9070ef3752c5d2ab1f9faac48095995772ce726 (diff) | |
| download | muhqs-game-1a2ee6899d8243c5f55f48fe48ef73f3f2507e35.tar.gz muhqs-game-1a2ee6899d8243c5f55f48fe48ef73f3f2507e35.zip | |
fix some warnings reported by golang-ci
Diffstat (limited to 'go/game/targets.go')
| -rw-r--r-- | go/game/targets.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/go/game/targets.go b/go/game/targets.go index 046c53d6..7803c2c8 100644 --- a/go/game/targets.go +++ b/go/game/targets.go @@ -20,7 +20,6 @@ type ( type Targets struct { s *State - action Action constraints []*TargetConstraint sel []interface{} } @@ -40,7 +39,7 @@ func (t *Targets) String() string { } if len(t.sel) == 1 { - return fmt.Sprintf("%s", fmtSel(t.sel[0])) + return fmtSel(t.sel[0]) } s := "[" |
