Ignore clippy range_plus_one lints

This commit is contained in:
Paul Hauner 2019-04-29 14:24:57 +10:00
parent a90bbbfd82
commit 240d1e197a
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![allow(clippy::range_plus_one)] // Minor readability lint requiring structural changes; not worth it.
use super::*; use super::*;
/// New vec is bigger than old vec. /// New vec is bigger than old vec.

View File

@ -1,3 +1,5 @@
#![allow(clippy::range_plus_one)] // Minor readability lint requiring structural changes; not worth it.
use super::*; use super::*;
use crate::merkleize::{merkleize, pad_for_leaf_count}; use crate::merkleize::{merkleize, pad_for_leaf_count};
use int_to_bytes::int_to_bytes32; use int_to_bytes::int_to_bytes32;