Open est31 opened 5 years ago
I think that https://github.com/glium/glium/pull/1853 could solve this? I used ripgrep and sed to replace all instances of it.
Just glancing at the changes in #1853, it's almost certainly wrong and UB, but they're no_run
examples so... maybe it doesn't matter.
Then again, examples should probably be correct because someone probably copies them into their project as a starting point.
Continuation of #1753. @Lokathor has removed mem::uninitialized usage in the glium crate itself in #1759, but some examples still contain it.