Skip to content

Commit 0af2bda

Browse files
committed
Resolve semicolon_if_nothing_returned pedantic clippy lint from PR 1127
warning: consider adding a `;` to the last statement for consistent formatting --> src/map.rs:377:9 | 377 | self.map.hash(state) | ^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self.map.hash(state);` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned = note: `-W clippy::semicolon-if-nothing-returned` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::semicolon_if_nothing_returned)]`
1 parent eb0330a commit 0af2bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ impl Eq for Map<String, Value> {}
374374
impl Hash for Map<String, Value> {
375375
#[inline]
376376
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
377-
self.map.hash(state)
377+
self.map.hash(state);
378378
}
379379
}
380380
#[cfg(feature = "preserve_order")]

0 commit comments

Comments
 (0)