Commit 2ce28ad
committed
Ignore missing_panics_doc pedantic clippy lint
warning: docs for function which may panic missing `# Panics` section
--> src/wrapper.rs:949:1
|
949 | pub fn invalidate_current_thread_spans() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> src/wrapper.rs:951:9
|
951 | / panic!(
952 | | "proc_macro2::invalidate_current_thread_spans is not available in procedural macros"
953 | | );
| |_________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `-W clippy::missing-panics-doc` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_panics_doc)]`1 parent 3fd90cb commit 2ce28ad
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments