From d76bb0c69793eda42d0e46d4a7c7218b8a3a4a37 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 23 Oct 2019 22:17:09 +0300 Subject: Update dependencies --- alacritty_terminal/src/grid/storage.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'alacritty_terminal/src') diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs index 2004cece..b4ff70a2 100644 --- a/alacritty_terminal/src/grid/storage.rs +++ b/alacritty_terminal/src/grid/storage.rs @@ -15,7 +15,6 @@ use std::ops::{Index, IndexMut}; use std::vec::Drain; use serde::{Deserialize, Serialize}; -use static_assertions::assert_eq_size; use super::Row; use crate::index::Line; @@ -221,7 +220,7 @@ impl Storage { /// instructions. This implementation achieves the swap in only 8 movups /// instructions. pub fn swap(&mut self, a: usize, b: usize) { - assert_eq_size!(Row, [usize; 4]); + debug_assert_eq!(std::mem::size_of::>(), 32); let a = self.compute_index(a); let b = self.compute_index(b); -- cgit