diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2016-02-29 11:25:51 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2016-02-29 11:25:51 +0000 |
commit | d9cb85c2d81a447130307d0004b0ef515f3ff241 (patch) | |
tree | ef91d7dd981d91b4632cc1c9a0069d28a75464ce /tests/tuples/tuple_with_nil.nim | |
parent | bd95bf58bfab31034db346d946e8e3b6bb5d19cc (diff) | |
download | Nim-d9cb85c2d81a447130307d0004b0ef515f3ff241.tar.gz |
Spellcheck
Diffstat (limited to 'tests/tuples/tuple_with_nil.nim')
-rw-r--r-- | tests/tuples/tuple_with_nil.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tuples/tuple_with_nil.nim b/tests/tuples/tuple_with_nil.nim index 26e4ae85e..442fbab92 100644 --- a/tests/tuples/tuple_with_nil.nim +++ b/tests/tuples/tuple_with_nil.nim @@ -345,7 +345,7 @@ proc writeformat(o: var Writer; p: pointer; fmt: Format) = ## Write pointer `i` according to format `fmt` using output object ## `o` and output function `add`. ## - ## Pointers are casted to unsigned int and formated as hexadecimal + ## Pointers are casted to unsigned int and formatted as hexadecimal ## with prefix unless specified otherwise. var f = fmt if f.typ == 0.char: @@ -584,7 +584,7 @@ proc splitfmt(s: string): seq[Part] {.compiletime, nosideeffect.} = ## Each part is either a literal string or a format specification. A ## format specification is a substring of the form ## "{[arg][:format]}" where `arg` is either empty or a number - ## refering to the arg-th argument and an additional field or array + ## referring to the arg-th argument and an additional field or array ## index. The format string is a string accepted by `parse`. let subpeg = sequence(capture(digits()), capture(?sequence(charSet({'.'}), *pegs.identStartChars(), *identChars())), |