Lokathor / bytemuck

A crate for mucking around with piles of bytes
https://docs.rs/bytemuck
Apache License 2.0
697 stars 77 forks source link

Have `cfg`s as part of the input to `impl_unsafe_marker_for_simd` #207

Closed zachs18 closed 1 year ago

zachs18 commented 1 year ago

... so that the macro can correctly expand with doc(cfg(...)) attributes under feature = "nightly_docs".

(see https://github.com/Lokathor/bytemuck/pull/203#issuecomment-1707208974 )

zachs18 commented 1 year ago

Ah, cargo fmts snuck in. I can remove those if wanted.

Lokathor commented 1 year ago

probably better to have the formatting applied eventually, might as well be now.