grovesNL / glow

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
Apache License 2.0
1.2k stars 130 forks source link

Remove slotmap non-Copy workaround #142

Closed orlp closed 3 years ago

orlp commented 3 years ago

As soon as you're okay with bumping the minimum required Rust version to 1.49, you can remove the following workaround:

https://github.com/grovesNL/glow/blob/f4dcf90b4d683c61b2cc0f4fa00004bc814c5453/src/web_sys.rs#L59

slotmap 1.0 has removed the Copy restriction.

grovesNL commented 3 years ago

Thank you! We'll probably leave this for a little bit until 1.49 isn't as fresh