Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Apr 30, 2020
1 parent f0005d4 commit e04f391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func unsafeIndex(base unsafe.Pointer, offset uintptr, elemsz uintptr, n int) uns

func unsafeByteSlice(base unsafe.Pointer, offset uintptr, i, j int) []byte {
// See: https://github.com/golang/go/wiki/cgo#turning-c-arrays-into-go-slices
//
//
// This memory is not allocated from C, but it is unmanaged by Go's
// garbage collector and should behave similarly, and the compiler
// should produce similar code. Note that this conversion allows a
Expand Down

0 comments on commit e04f391

Please sign in to comment.