Commit 53209467 authored by Zhou Peng's avatar Zhou Peng Committed by Alberto Donizetti

index/suffixarray: fix a typo mistake in comments

Change-Id: Ibdd1ca7bfc6fb2419621338f1f8e37c876ba89c0
Reviewed-on: https://go-review.googlesource.com/114976Reviewed-by: 's avatarAlberto Donizetti <alb.donizetti@gmail.com>
parent 5c36fdfd
......@@ -107,7 +107,7 @@ func (x *Index) Read(r io.Reader) error {
// allocate space
if 2*n < cap(x.data) || cap(x.data) < n {
// new data is significantly smaller or larger then
// new data is significantly smaller or larger than
// existing buffers - allocate new ones
x.data = make([]byte, n)
x.sa = make([]int, n)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment