# std.SpinLock: flatten and remove init/deinit · gitcafe/zig

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

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

Visibility: public

Requested revision: 2f58efcc1f0a435846c0909fcde7b080ec4e5d3a

Requested commit: 2f58efcc1f0a435846c0909fcde7b080ec4e5d3a

Commit: 2f58efcc1f0a435846c0909fcde7b080ec4e5d3a

Tree: d3d0ef761b3c8055ae69e78816f14d739122da86

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.SpinLock: flatten and remove init/deinit

structs which are intended to be directly initialized and support static
initialization should not have init/deinit methods.

```

## Parents

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

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