# add new functions to std.mem and deprecate others · gitcafe/zig

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

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

Visibility: public

Requested revision: 5b26128bacddf594dfe45958a236bfa2459f878b

Requested commit: 5b26128bacddf594dfe45958a236bfa2459f878b

Commit: 5b26128bacddf594dfe45958a236bfa2459f878b

Tree: 46843b88c41264e6ad4a3ffe5a743d94f7051b47

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add new functions to std.mem and deprecate others

add std.mem.Span
add std.mem.span
add std.mem.length
add std.mem.indexOfSentinel

deprecate std.mem.len
deprecate std.mem.toSlice
deprecate std.mem.toSliceConst

```

## Parents

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

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