mirror of
https://github.com/fumiama/orbyte.git
synced 2026-06-12 14:10:53 +08:00
optimize: change Destroy -> ManualDestroy
This commit is contained in:
@@ -117,8 +117,3 @@ func (b Bytes) Slice(from, to int) Bytes {
|
||||
nb.dat = b.dat[from:to]
|
||||
return nb
|
||||
}
|
||||
|
||||
// Destroy please refer to Item.Destroy().
|
||||
func (b Bytes) Destroy() {
|
||||
b.buf.Destroy()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user