Bumping clippy. Fixing warnings (#1139)
* Bumping clippy. Fixing warnings * Removing unused import * Fixing complexity and arguments warning on two functions
This commit is contained in:
@@ -22,7 +22,7 @@ ethcore-util = { path = "../util" }
|
||||
evmjit = { path = "../evmjit", optional = true }
|
||||
ethash = { path = "../ethash" }
|
||||
num_cpus = "0.2"
|
||||
clippy = { version = "0.0.67", optional = true}
|
||||
clippy = { version = "0.0.69", optional = true}
|
||||
crossbeam = "0.2.9"
|
||||
lazy_static = "0.1"
|
||||
ethcore-devtools = { path = "../devtools" }
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! TraceDB errors.
|
||||
//! `TraceDB` errors.
|
||||
|
||||
use std::fmt::{Display, Formatter, Error as FmtError};
|
||||
|
||||
@@ -26,7 +26,7 @@ To do this, remove or move away your current database and restart parity. e.g.:
|
||||
> mv ~/.parity/906a34e69aec8c0d /tmp
|
||||
> parity";
|
||||
|
||||
/// TraceDB errors.
|
||||
/// `TraceDB` errors.
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
/// Returned when tracing is enabled,
|
||||
|
||||
@@ -320,7 +320,6 @@ impl<'a> Hashable for HeaderView<'a> {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use rustc_serialize::hex::FromHex;
|
||||
use util::rlp::View;
|
||||
use super::BlockView;
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user