Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
silence a warning about PhantomData in repr(C) structs
Since PhantomData is a ZST, it wasn't considered safe to use in a repr(C) struct. In practice, however, since the C side doesn't care about the PhantomData, it's fine. Also this particular case no longer causes the warning on nightlies: rust-lang/rust-bindgen#442
- Loading branch information