refactor: clean up by using cfg-if where possible

Signed-off-by: Stephen Waits <steve@waits.net>
This commit is contained in:
swaits committed 2023-02-13 10:41:49 -07:00
1 parent d1bc523b67
commit 609cc3e98c
5 files changed
+38 -28

No files matched your search

+2
View File
@@ -192,6 +192,8 @@ This crate depends on:
operations for the internal `Vector` so much nicer. Once we have
`feature(array_zip)` stabilized, we could use that instead. Until then, this
works well with zero performance impact.
- [`cfg-if`](https://crates.io/crates/cfg-if): Compile-time only macro which
makes using `cfg` parameters much nicer in code.
## Design Goals & Alternatives