Skip to content

Commit 271d896

Browse files
blblackandrewrk
authored andcommitted
std.hash.crc: get rid of usingnamespace
This flips things around such that std/hash/crc.zig is generated by the catalog-based generation tool, and the real code that used to be in that file is moved out to std/hash/crc/impl.zig. The generated tests are moved to std/hash/crc/test.zig. By going this route, we eliminate the need for usingnamespace without changing anything for callers of these interfaces. The Crc32 tests are simply added to the fixed part of the generated output and compactified a bit. This was the second-to-last usage of usingnamespace left in std.
1 parent 786876c commit 271d896

File tree

5 files changed

+1316
-1302
lines changed

5 files changed

+1316
-1302
lines changed

0 commit comments

Comments
 (0)