diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-04 13:29:08 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-11 20:23:41 -0800 |
commit | 43397cefec97fdba38976f4a8e3e693c5dadfc61 (patch) | |
tree | 1cb231fa9644c3765f1794a8702e175e634c382b /src/macros.rs | |
parent | ce32eee0999b60842c63cb7607b8bf9319242d5c (diff) | |
download | r-alacritty-43397cefec97fdba38976f4a8e3e693c5dadfc61.tar.gz r-alacritty-43397cefec97fdba38976f4a8e3e693c5dadfc61.tar.bz2 r-alacritty-43397cefec97fdba38976f4a8e3e693c5dadfc61.zip |
Borrow glutin::Window instead of using Arc
glutin::Window is not threadsafe; putting it into an Arc is
misleading (although the glutin::Window type claims to be Send + Sync).
The reference was just needed on the main thread anyway, so it's better
to just pass a ref around directly.
Diffstat (limited to 'src/macros.rs')
0 files changed, 0 insertions, 0 deletions