diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-12-10 17:28:25 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2018-12-10 17:40:23 +0100 |
commit | c01a383d1a0c55a91912f280984d59ca2c0db832 (patch) | |
tree | 440e0d6d35f119246d2b113fd01b431f4f9c2c38 /src/term/mod.rs | |
parent | 7ec36f2626aa601f4b1cd85e9712bc81903e6170 (diff) | |
download | alacritty-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/term/mod.rs')
-rw-r--r-- | src/term/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index c0989add..fba509f5 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -499,6 +499,8 @@ impl<'a> Iterator for RenderableCellsIter<'a> { } pub mod mode { + use bitflags::bitflags; + bitflags! { pub struct TermMode: u16 { const SHOW_CURSOR = 0b00_0000_0000_0001; |