*: Fix redundant_semicolons warnings (#2039)

This commit is contained in:
Max Inden
2021-04-10 21:40:06 +02:00
committed by GitHub
parent 7cf8ac0862
commit 2d995a62e7
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -2632,7 +2632,7 @@ where
rpc_list.push(new_rpc.clone());
}
};
};
}
macro_rules! add_item {
($object: ident, $type: ident ) => {

View File

@ -4992,7 +4992,7 @@ mod tests {
struct Pointers {
slow_counter: u32,
fast_counter: u32,
};
}
let mut counters = Pointers {
slow_counter: 0,