Correct inaccuracy in const
description.
This commit is contained in:
parent
668ecb9732
commit
e98ff57b25
@ -15,7 +15,7 @@ func main() {
|
|||||||
fmt.Println(s)
|
fmt.Println(s)
|
||||||
|
|
||||||
// A `const` statement can appear anywhere a `var`
|
// A `const` statement can appear anywhere a `var`
|
||||||
// statement can.
|
// statement can, for types that support `const`.
|
||||||
const n = 500000000
|
const n = 500000000
|
||||||
|
|
||||||
// Constant expressions perform arithmetic with
|
// Constant expressions perform arithmetic with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user