Update hex-literal version, simplify imports and remove unused dependencies (#2371)

This commit is contained in:
Stanislav Tkach
2019-04-25 12:17:40 +03:00
committed by Gavin Wood
parent d6054a8fd8
commit 0f02bed702
46 changed files with 54 additions and 85 deletions
+1 -1
View File
@@ -410,7 +410,7 @@ pub trait Pair: Sized {
#[cfg(test)]
mod tests {
use crate::DeriveJunction;
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
use super::*;
#[derive(Eq, PartialEq, Debug)]
+1 -1
View File
@@ -490,7 +490,7 @@ impl Pair {
#[cfg(test)]
mod test {
use super::*;
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
use crate::crypto::DEV_PHRASE;
#[test]
+1 -1
View File
@@ -504,7 +504,7 @@ impl Pair {
mod test {
use super::*;
use crate::crypto::{Ss58Codec, DEV_PHRASE, DEV_ADDRESS};
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
#[test]
fn default_phrase_should_be_used() {