From fa664ec79cc60b0137e0b951c22fe1c9ebaf5fc6 Mon Sep 17 00:00:00 2001 From: Rich T Date: Sat, 11 May 2019 22:20:23 +0100 Subject: [PATCH] Fix typos --- common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.go b/common.go index 003b7b1..bea317c 100644 --- a/common.go +++ b/common.go @@ -11,8 +11,8 @@ type WalkFunc func(key string, value interface{}) error // StringSegmenter takes a string key with a starting index and returns // the first segment after the start and the ending index. When the end is // reached, the returned nextIndex should be -1. -// Implementations should NOT allocate heap memory as Trie Segmentors are -// called upon Gets. See PathSegmentor. +// Implementations should NOT allocate heap memory as Trie Segmenters are +// called upon Gets. See PathSegmenter. type StringSegmenter func(key string, start int) (segment string, nextIndex int) // PathSegmenter segments string key paths by slash separators. For example,