Skip to content

Commit 586fefb

Browse files
committed
Resolve semicolon_if_nothing_returned pedantic clippy lint
error: consider adding a `;` to the last statement for consistent formatting --> src/map.rs:309:9 | 309 | self.map.clone_from(&source.map) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self.map.clone_from(&source.map);` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned = note: `-D clippy::semicolon-if-nothing-returned` implied by `-D clippy::pedantic`
1 parent 9eb66da commit 586fefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ impl Clone for Map<String, Value> {
306306

307307
#[inline]
308308
fn clone_from(&mut self, source: &Self) {
309-
self.map.clone_from(&source.map)
309+
self.map.clone_from(&source.map);
310310
}
311311
}
312312

0 commit comments

Comments
 (0)