mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
TSlice -> Slice in the tut1
This commit is contained in:
@@ -1313,9 +1313,9 @@ Slices
|
||||
------
|
||||
|
||||
Slices look similar to subranges types in syntax but are used in a different
|
||||
context. A slice is just an object of type TSlice which contains two bounds,
|
||||
context. A slice is just an object of type Slice which contains two bounds,
|
||||
`a` and `b`. By itself a slice is not very useful, but other collection types
|
||||
define operators which accept TSlice objects to define ranges.
|
||||
define operators which accept Slice objects to define ranges.
|
||||
|
||||
.. code-block:: nim
|
||||
|
||||
|
||||
Reference in New Issue
Block a user