Some more.
This commit is contained in:
parent
00883e477a
commit
a5a7c1827a
@ -217,7 +217,6 @@ pub fn default_network_config() -> ::ethsync::NetworkConfiguration {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(feature = "dev", allow(too_many_arguments))]
|
|
||||||
pub fn to_client_config(
|
pub fn to_client_config(
|
||||||
cache_config: &CacheConfig,
|
cache_config: &CacheConfig,
|
||||||
spec_name: String,
|
spec_name: String,
|
||||||
@ -453,7 +452,6 @@ but the first password is trimmed
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(feature = "dev", allow(float_cmp))]
|
|
||||||
fn test_to_price() {
|
fn test_to_price() {
|
||||||
assert_eq!(to_price("1").unwrap(), 1.0);
|
assert_eq!(to_price("1").unwrap(), 1.0);
|
||||||
assert_eq!(to_price("2.3").unwrap(), 2.3);
|
assert_eq!(to_price("2.3").unwrap(), 2.3);
|
||||||
|
@ -436,7 +436,6 @@ impl<'a> TrieDBMut<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// the insertion inspector.
|
/// the insertion inspector.
|
||||||
#[cfg_attr(feature = "dev", allow(cyclomatic_complexity))]
|
|
||||||
fn insert_inspector(&mut self, node: Node, partial: NibbleSlice, value: DBValue, old_val: &mut Option<DBValue>)
|
fn insert_inspector(&mut self, node: Node, partial: NibbleSlice, value: DBValue, old_val: &mut Option<DBValue>)
|
||||||
-> super::Result<InsertAction>
|
-> super::Result<InsertAction>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user