aboutsummaryrefslogtreecommitdiff
path: root/src/grid
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-12-10 17:28:25 +0100
committerChristian Duerr <contact@christianduerr.com>2018-12-10 17:40:23 +0100
commitc01a383d1a0c55a91912f280984d59ca2c0db832 (patch)
tree440e0d6d35f119246d2b113fd01b431f4f9c2c38 /src/grid
parent7ec36f2626aa601f4b1cd85e9712bc81903e6170 (diff)
downloadalacritty-c01a383d1a0c55a91912f280984d59ca2c0db832.tar.gz
alacritty-c01a383d1a0c55a91912f280984d59ca2c0db832.zip
Remove macro use extern cratesnll
Since the Rust 2018 edition allows importing macros directly, all uses of `#[macro_use] extern crate` have been removed from the linux build. The `log` and `serde` crate have been excluded from that right now, since they are so frequently used in the codebase.
Diffstat (limited to 'src/grid')
-rw-r--r--src/grid/storage.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grid/storage.rs b/src/grid/storage.rs
index 6a8253e3..19c1636d 100644
--- a/src/grid/storage.rs
+++ b/src/grid/storage.rs
@@ -14,6 +14,8 @@
use std::ops::{Index, IndexMut};
use std::slice;
+use static_assertions::assert_eq_size;
+
use crate::index::Line;
use super::Row;