Fix typo (#13015) [backport]
This commit is contained in:
parent
0ecb709cbe
commit
a577a88c36
1 changed files with 1 additions and 1 deletions
|
|
@ -1393,7 +1393,7 @@ define operators which accept Slice objects to define ranges.
|
||||||
:test: "nim c $1"
|
:test: "nim c $1"
|
||||||
|
|
||||||
var
|
var
|
||||||
a = "Nim is a progamming language"
|
a = "Nim is a programming language"
|
||||||
b = "Slices are useless."
|
b = "Slices are useless."
|
||||||
|
|
||||||
echo a[7..12] # --> 'a prog'
|
echo a[7..12] # --> 'a prog'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue