go.tools/refactor/eg: move misplaced comment
LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/88100046
This commit is contained in:
parent
503140c72e
commit
066bab1496
|
@ -80,6 +80,9 @@ never matches.
|
||||||
There is no way to generalize over related types, e.g. to express that
|
There is no way to generalize over related types, e.g. to express that
|
||||||
a wildcard may have any integer type, for example.
|
a wildcard may have any integer type, for example.
|
||||||
|
|
||||||
|
It is not possible to replace an expression by one of a different
|
||||||
|
type, even in contexts where this is legal, such as x in fmt.Print(x).
|
||||||
|
|
||||||
|
|
||||||
SAFETY
|
SAFETY
|
||||||
|
|
||||||
|
@ -89,9 +92,6 @@ constant by another (e.g. 1 to 2) may cause type errors relating to
|
||||||
array types and indices, for example. The tool performs only very
|
array types and indices, for example. The tool performs only very
|
||||||
superficial checks of type preservation.
|
superficial checks of type preservation.
|
||||||
|
|
||||||
It is not possible to replace an expression by one of a different
|
|
||||||
type, even in contexts where this is legal, such as x in fmt.Print(x).
|
|
||||||
|
|
||||||
|
|
||||||
IMPORTS
|
IMPORTS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue