summaryrefslogtreecommitdiff
path: root/src/index.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-11-04 00:11:51 +0000
committerGitHub <noreply@github.com>2018-11-04 00:11:51 +0000
commit0b1754e73f5238a449a07979666a544877be9042 (patch)
treec0636fcc58264217c9077ac1e2985e1f8b6b7d29 /src/index.rs
parentd2f4972703fc95e20251796665feb00c768862d4 (diff)
downloadalacritty-0b1754e73f5238a449a07979666a544877be9042.tar.gz
alacritty-0b1754e73f5238a449a07979666a544877be9042.zip
Fix clippy issues
This resolves all existing clippy issues and removes some old `allow` annotations which aren't neccesary anymore.
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/index.rs b/src/index.rs
index 8ac1ab3a..e490c720 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -347,7 +347,6 @@ macro_rules! ops {
impl $ty {
#[inline]
- #[allow(trivial_numeric_casts)]
fn steps_between(start: $ty, end: $ty, by: $ty) -> Option<usize> {
if by == $construct(0) { return None; }
if start < end {