Update generics.sh with correct response (#500)
This commit is contained in:
parent
461f6955d6
commit
6fdb46ead6
@ -1,3 +1,7 @@
|
|||||||
$ go run generics.go
|
$ go run generics.go
|
||||||
keys: [4 1 2]
|
keys: [4 1 2]
|
||||||
list: [10 13 23]
|
list: [10 13 23]
|
||||||
|
|
||||||
|
# Note: The order of iteration over map keys is not defined in Go,
|
||||||
|
# so different invocations may result in different orders.
|
||||||
|
# The output need not necessarily be keys: [1 2 4].
|
Loading…
x
Reference in New Issue
Block a user