Skip to content

Commit

Permalink
fix doc of CCstring.Split.list_
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Apr 10, 2015
1 parent c051966 commit 24e15b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/CCString.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24e15b4

Please sign in to comment.