Skip to content

Commit 57f66f7

Browse files
authored
Avoid duplication in ID module (#3024)
This PR: - Moves the `#[repr(packed)]` into an `InnerId`, to avoid duplicating said attribute and to open the door for casting `&Id` to `&Id` in future. - Moves the `snowflake` serde module into just `InnerId`. - Generates the ID newtypes via the macro, cleaning up the module significantly There should be no publicly facing difference for this, purely internal changes.
1 parent 1b4a3ff commit 57f66f7

File tree

1 file changed

+84
-210
lines changed

1 file changed

+84
-210
lines changed

0 commit comments

Comments
 (0)