diff options
| author | Chris Broadfoot <cbro@golang.org> | 2016-03-18 17:41:20 -0700 |
|---|---|---|
| committer | Chris Broadfoot <cbro@golang.org> | 2016-03-19 00:52:27 +0000 |
| commit | c4165d780c65c33fb4b6f81f32ce31612c28b0b2 (patch) | |
| tree | 7aa8145e43089a4bcedb5e4bfa5b1514ba53f680 | |
| parent | a4d680413ab45695cc2c6c3e232d508aeb637f25 (diff) | |
| download | golang-id-tour-c4165d780c65c33fb4b6f81f32ce31612c28b0b2.tar.xz | |
content: make slice of slice example (tic tac toe) less ambiguous
Fixes golang/go#14871.
Change-Id: Idbc9622e7acc216275620cc0036b0f116777ae71
Reviewed-on: https://go-review.googlesource.com/20886
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
| -rw-r--r-- | content/moretypes/slices-of-slice.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/moretypes/slices-of-slice.go b/content/moretypes/slices-of-slice.go index 66f1019..8f5cbc8 100644 --- a/content/moretypes/slices-of-slice.go +++ b/content/moretypes/slices-of-slice.go @@ -18,7 +18,7 @@ func main() { // The players take turns. board[0][0] = "X" board[2][2] = "O" - board[2][0] = "X" + board[1][2] = "X" board[1][0] = "O" board[0][2] = "X" |
