Cleanup some warnings (#7816)

* client: cleanup redundant semicolon warnings

* grandpa: remove usage of deprecated compare_and_swap
This commit is contained in:
André Silva authored and GitHub committed 2021-01-03 23:29:46 +00:00
1 parent 672a2912b8
commit e367d57baf
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -1224,7 +1224,7 @@ mod test {
#[test]
fn finalize_with_descendent_works() {
#[derive(Debug, PartialEq)]
struct Change { effective: u64 };
struct Change { effective: u64 }
let (mut tree, is_descendent_of) = {
let mut tree = ForkTree::new();