# Slice function of BoundedArray now returns slice based on self pointer · gitcafe/zig

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

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

Visibility: public

Requested revision: f19b5ecf4b99652cd385cfdfedfa826260174871

Requested commit: f19b5ecf4b99652cd385cfdfedfa826260174871

Commit: f19b5ecf4b99652cd385cfdfedfa826260174871

Tree: 653552e92dcce3b36648003a4fb9fa9bcf74dfc9

Author: Jimmi Holst Christensen

Committer: Andrew Kelley

## Message

```
Slice function of BoundedArray now returns slice based on self pointer

If self pointer is const, the slice is const. Otherwise the slice is
mutable.

```

## Parents

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

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