Getting rid of PhantomData
hardliner66 opened this issue · comments
Could this be used to somehow get rid of using PhantomData?
so we could do something like:
struct Test<T> {
i: i32,
s: String,
}
Yes that would be possible to implement. It is not the goal of this crate though.
@dtolnay Was this implemented or did you just close the issue? I'm just a bit confused by the closed this as completed
.