# langref: tweak description of \`\[\]T\` \(\#12319\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/2b92c5a23e912df56885ff10d690ff7bfd1e3f47)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 2b92c5a23e912df56885ff10d690ff7bfd1e3f47

Requested commit: 2b92c5a23e912df56885ff10d690ff7bfd1e3f47

Commit: 2b92c5a23e912df56885ff10d690ff7bfd1e3f47

Tree: 9151f5152df9d05c407707993a087a982144a8d2

Author: Jason Ho

Committer: GitHub

## Message

```
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>
```

## Parents

- [7a733b9385e77bc6b9aa1c62ca180a6ba9f14f3f](https://git.cafe/gitcafe/zig/commit/7a733b9385e77bc6b9aa1c62ca180a6ba9f14f3f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/2b92c5a23e912df56885ff10d690ff7bfd1e3f47?format=markdown)
