Skip to content

Commit 3fd90cb

Browse files
committed
Fix semicolon_if_nothing_returned clippy lint from PR 438
warning: consider adding a `;` to the last statement for consistent formatting --> src/wrapper.rs:955:9 | 955 | crate::fallback::invalidate_current_thread_spans() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `crate::fallback::invalidate_current_thread_spans();` | = 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 178e565 commit 3fd90cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,6 @@ pub fn invalidate_current_thread_spans() {
952952
"proc_macro2::invalidate_current_thread_spans is not available in procedural macros"
953953
);
954954
} else {
955-
crate::fallback::invalidate_current_thread_spans()
955+
crate::fallback::invalidate_current_thread_spans();
956956
}
957957
}

0 commit comments

Comments
 (0)