diff options
author | Joe Wilm <joe@jwilm.com> | 2018-12-06 09:54:45 -0800 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2018-12-10 17:40:22 +0100 |
commit | 0fd6a6830a8a7bc58c4257bc9f69057eb1e2eb86 (patch) | |
tree | 61e76da69ec99b280e8c4e776e31928733d8a753 /src/event.rs | |
parent | 08069a4e6cc1fdd457050108a99fd127fe4f98d5 (diff) | |
download | alacritty-0fd6a6830a8a7bc58c4257bc9f69057eb1e2eb86.tar.gz alacritty-0fd6a6830a8a7bc58c4257bc9f69057eb1e2eb86.zip |
Remove most old NLL workarounds
Will need full NLL to handle a couple of remaining overlapping mutable
borrows.
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index c4da86a5..b0b6b333 100644 --- a/src/event.rs +++ b/src/event.rs @@ -20,6 +20,7 @@ use crate::input::{self, MouseBinding, KeyBinding}; use crate::selection::Selection; use crate::sync::FairMutex; use crate::term::{Term, SizeInfo, TermMode, Search}; +use crate::term::cell::Cell; use crate::util::limit; use crate::util::fmt::Red; use crate::window::Window; @@ -336,7 +337,7 @@ impl<N: Notify> Processor<N> { if ref_test { // dump grid state let mut grid = processor.ctx.terminal.grid().clone(); - grid.initialize_all(&::term::cell::Cell::default()); + grid.initialize_all(&Cell::default()); grid.truncate(); let serialized_grid = json::to_string(&grid) |