From 24e15b4ceea5680cec93651c90970dc9acc97ae3 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Fri, 10 Apr 2015 16:56:51 +0200 Subject: [PATCH] fix doc of CCstring.Split.list_ --- src/core/CCString.mli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/CCString.mli b/src/core/CCString.mli index fcfc32db..bf03f5e0 100644 --- a/src/core/CCString.mli +++ b/src/core/CCString.mli @@ -146,9 +146,9 @@ module Split : sig (** split the given string along the given separator [by]. Should only be used with very small separators, otherwise use {!Containers_string.KMP}. - @return a list of (index,length) of substrings of [s] that are + @return a list of slices [(s,index,length)] that are separated by [by]. {!String.sub} can then be used to actually extract - the slice. + a string from the slice. @raise Failure if [by = ""] *) val gen : by:string -> string -> (string*int*int) gen