| author | |
| committer | |
| log | 16314e0e199051289075c9e3dab425ce3fb52719 |
| tree | 768a531898d4b22bb127fd5a2d596630f4d81215 |
| parent | b18b4db7095f58b1e8b3f5ac4993bda38231c2af |
1 files changed, 1 insertions(+), 1 deletions(-)
doc/langref.html.in+1-1| ... | ... | @@ -2983,7 +2983,7 @@ test "using slices for strings" { |
| 2983 | 2983 | const world: []const u8 = "世界"; |
| 2984 | 2984 | |
| 2985 | 2985 | var all_together: [100]u8 = undefined; |
| 2986 | // You can use slice syntax with at least one runtime-know index on an | |
| 2986 | // You can use slice syntax with at least one runtime-known index on an | |
| 2987 | 2987 | // array to convert an array into a slice. |
| 2988 | 2988 | var start : usize = 0; |
| 2989 | 2989 | const all_together_slice = all_together[start..]; |