diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-07-05 23:05:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 23:05:33 +0000 |
commit | 7433f45ff9c6efeb48e223e90dd4aa9ee135b5e8 (patch) | |
tree | 8fac2cfad590b8ead771cdd4fbfb818936b6308b /alacritty.info | |
parent | 68b3d8abfdeeb388edb1b5e0528d3fddb66fd9e8 (diff) | |
download | alacritty-7433f45ff9c6efeb48e223e90dd4aa9ee135b5e8.tar.gz alacritty-7433f45ff9c6efeb48e223e90dd4aa9ee135b5e8.zip |
Replace debug asserts with static_assertions
To check that transmutes will work correctly without having to rely on
error-prone runtime checking, the `static_assertions` crate has been
introduced. This allows comparing the size of types at compile time,
preventing potentially silent breakage.
This fixes #1417.
Diffstat (limited to 'alacritty.info')
0 files changed, 0 insertions, 0 deletions