mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
fix typo
parent
0d9d6bd6dd
commit
01a106809f
@ -70,7 +70,7 @@ For a slice or array s, loops of the form
|
|||||||
|
|
||||||
```go
|
```go
|
||||||
for i := range s {
|
for i := range s {
|
||||||
a[i] = <zero value for element of s>
|
s[i] = <zero value for element of s>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user