Skip to content
Snippets Groups Projects
Commit c8f0bbd5 authored by Carl Lerche's avatar Carl Lerche
Browse files

Fix TraitObject

parent 8af74ae4
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,7 @@ impl<B: ByteStr> ByteStrPriv for B {
// TODO: Figure out how to not depend on the memory layout of trait objects
// Blocked: rust-lang/rust#24050
#[repr(C)]
struct TraitObject {
data: *mut (),
vtable: *mut (),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment