aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
diff options
context:
space:
mode:
authorJason Ho <jasonho353@gmail.com>2022-08-31 20:53:00 -0500
committerGitHub <noreply@github.com>2022-08-31 21:53:00 -0400
commit2b92c5a23e912df56885ff10d690ff7bfd1e3f47 (patch)
tree9151f5152df9d05c407707993a087a982144a8d2 /test/cases/compile_errors
parent7a733b9385e77bc6b9aa1c62ca180a6ba9f14f3f (diff)
downloadzig-2b92c5a23e912df56885ff10d690ff7bfd1e3f47.tar.gz
zig-2b92c5a23e912df56885ff10d690ff7bfd1e3f47.zip
langref: tweak description of `[]T` (#12319)
saying []T is a pointer is confusing because zig docs say there are two types of pointers (*T and [*]T). It is more clear to say that []T is a slice type which contains a [*]T pointer and a length. Co-authored-by: Philipp Lühmann <47984692+luehmann@users.noreply.github.com>
Diffstat (limited to 'test/cases/compile_errors')
0 files changed, 0 insertions, 0 deletions