mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
formatdict.zig
This commit is contained in:
parent
032c509c0d
commit
6850fd4ed9
1 changed files with 2 additions and 6 deletions
|
@ -20,13 +20,9 @@ const Slot = packed enum(u8) {
|
|||
PreviouslyFilled,
|
||||
};
|
||||
|
||||
const MaybeIndexTag = enum {
|
||||
index, not_found
|
||||
};
|
||||
const MaybeIndexTag = enum { index, not_found };
|
||||
|
||||
const MaybeIndex = union(MaybeIndexTag) {
|
||||
index: usize, not_found: void
|
||||
};
|
||||
const MaybeIndex = union(MaybeIndexTag) { index: usize, not_found: void };
|
||||
|
||||
fn nextSeed(seed: u64) u64 {
|
||||
// TODO is this a valid way to get a new seed? are there better ways?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue