mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: use cannot instead of can not
You can not use cannot, but you cannot spell cannot can not. Change-Id: I2f0971481a460804de96fd8c9e46a9cc62a3fc5b Reviewed-on: https://go-review.googlesource.com/19772 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
5dc053b9de
commit
e43c74a0d8
29 changed files with 32 additions and 32 deletions
|
|
@ -432,7 +432,7 @@ func (p *Package) loadDWARF(f *File, names []*Name) {
|
|||
fmt.Fprintf(&b, "\t0,\n")
|
||||
}
|
||||
}
|
||||
// for the last entry, we can not use 0, otherwise
|
||||
// for the last entry, we cannot use 0, otherwise
|
||||
// in case all __cgodebug_data is zero initialized,
|
||||
// LLVM-based gcc will place the it in the __DATA.__common
|
||||
// zero-filled section (our debug/macho doesn't support
|
||||
|
|
@ -2025,7 +2025,7 @@ func (c *typeConv) Struct(dt *dwarf.StructType, pos token.Pos) (expr *ast.Struct
|
|||
// We can't permit that, because then the size of the Go
|
||||
// struct will not be the same as the size of the C struct.
|
||||
// Our only option in such a case is to remove the field,
|
||||
// which means that it can not be referenced from Go.
|
||||
// which means that it cannot be referenced from Go.
|
||||
for off > 0 && sizes[len(sizes)-1] == 0 {
|
||||
n := len(sizes)
|
||||
fld = fld[0 : n-1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue