diff options
Diffstat (limited to 'lib/pure/pegs.nim')
-rw-r--r-- | lib/pure/pegs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/pegs.nim b/lib/pure/pegs.nim index 28f6a17e6..fead66de2 100644 --- a/lib/pure/pegs.nim +++ b/lib/pure/pegs.nim @@ -886,7 +886,7 @@ proc startsWith*(s: string, prefix: Peg, start = 0): bool {. proc endsWith*(s: string, suffix: Peg, start = 0): bool {. nosideEffect, rtl, extern: "npegs$1".} = - ## returns true if `s` ends with the pattern `prefix` + ## returns true if `s` ends with the pattern `suffix` var c: Captures c.origStart = start for i in start .. s.len-1: |