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