mirror of
https://github.com/golang/go
synced 2024-11-21 19:54:41 -07:00
suffixarray: rename Data() -> Bytes()
R=rsc CC=golang-dev https://golang.org/cl/3540042
This commit is contained in:
parent
d7340d9c20
commit
3fb6d62e3a
@ -49,10 +49,10 @@ func New(data []byte) *Index {
|
||||
}
|
||||
|
||||
|
||||
// Data returns the data over which the index was created.
|
||||
// Bytes returns the data over which the index was created.
|
||||
// It must not be modified.
|
||||
//
|
||||
func (x *Index) Data() []byte {
|
||||
func (x *Index) Bytes() []byte {
|
||||
return x.data
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user