# std.mem.compare: breaking API changes · gitcafe/zig

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

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

Visibility: public

Requested revision: 5575e2a168c07d2dcc0e58146231e490ef8a898e

Requested commit: 5575e2a168c07d2dcc0e58146231e490ef8a898e

Commit: 5575e2a168c07d2dcc0e58146231e490ef8a898e

Tree: 7cd93a54d6012066a9daf63465c40b342946ecdd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.mem.compare: breaking API changes

 * `std.mem.Compare` is now `std.math.Order` and the enum tags
   renamed to follow new style convention.
 * `std.mem.compare` is renamed to `std.mem.order`.
 * new function `std.math.order`

```

## Parents

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

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