mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-15 02:51:25 +00:00
*: Fix redundant_semicolons warnings (#2039)
This commit is contained in:
@ -357,7 +357,7 @@ impl<'de> Deserialize<'de> for Multiaddr {
|
|||||||
where
|
where
|
||||||
D: Deserializer<'de>,
|
D: Deserializer<'de>,
|
||||||
{
|
{
|
||||||
struct Visitor { is_human_readable: bool };
|
struct Visitor { is_human_readable: bool }
|
||||||
|
|
||||||
impl<'de> de::Visitor<'de> for Visitor {
|
impl<'de> de::Visitor<'de> for Visitor {
|
||||||
type Value = Multiaddr;
|
type Value = Multiaddr;
|
||||||
|
@ -2632,7 +2632,7 @@ where
|
|||||||
rpc_list.push(new_rpc.clone());
|
rpc_list.push(new_rpc.clone());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
macro_rules! add_item {
|
macro_rules! add_item {
|
||||||
($object: ident, $type: ident ) => {
|
($object: ident, $type: ident ) => {
|
||||||
|
@ -4992,7 +4992,7 @@ mod tests {
|
|||||||
struct Pointers {
|
struct Pointers {
|
||||||
slow_counter: u32,
|
slow_counter: u32,
|
||||||
fast_counter: u32,
|
fast_counter: u32,
|
||||||
};
|
}
|
||||||
|
|
||||||
let mut counters = Pointers {
|
let mut counters = Pointers {
|
||||||
slow_counter: 0,
|
slow_counter: 0,
|
||||||
|
Reference in New Issue
Block a user