heed clippy

This commit is contained in:
Andrew Dirksen 2019-05-13 10:29:44 -07:00
parent 33e9c6c73f
commit b3175a79b1

View file

@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize};
use sha2::{digest::FixedOutput, Digest, Sha256}; use sha2::{digest::FixedOutput, Digest, Sha256};
use std::marker::PhantomData; use std::marker::PhantomData;
const SALT: &'static str = "35af8f4890981391c191e6df45b5f780812ddf0213f29299576ac1c98e18173e"; const SALT: &str = "35af8f4890981391c191e6df45b5f780812ddf0213f29299576ac1c98e18173e";
/// Proof of work over concrete type T. T can be any type that implements serde::Serialize. /// Proof of work over concrete type T. T can be any type that implements serde::Serialize.
#[derive(Serialize, Deserialize, PartialEq, Clone, Copy, Debug)] #[derive(Serialize, Deserialize, PartialEq, Clone, Copy, Debug)]