dtolnay / proc-macro-workshop

Learn to write Rust procedural macros  [Rust Latam conference, Montevideo Uruguay, March 2019]
Apache License 2.0
4.13k stars 1.04k forks source link

Implement bitfield #17

Closed Robbepop closed 5 years ago

Robbepop commented 5 years ago

A complete implementation of the bitfield macros.

At crates.io: https://crates.io/crates/modular-bitfield

dtolnay commented 5 years ago

I merged your 03-access_complex.rs test case from the first commit. Thanks!

Robbepop commented 5 years ago

I adjusted the bitfield implementation so that it now mirrors the spec completely. -> Removed the one additional test case. -> All test cases are now 100% the ones from master