This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
Update README.md #107
Annotations
3 errors and 1 warning
docs for function which may panic missing `# Panics` section:
src/module.rs#L185
error: docs for function which may panic missing `# Panics` section
--> src/module.rs:185:5
|
185 | / pub fn find_or_insert_std_section<T: StdPayload>(
186 | | &mut self,
187 | | insert_callback: impl FnOnce() -> T,
188 | | ) -> &mut Blob<T> {
| |_____________________^
|
note: first possible panic found here
--> src/module.rs:207:9
|
207 | / self.sections[index]
208 | | .try_as_mut()
209 | | .expect("internal error: couldn't convert back just inserted section")
| |__________________________________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `-D clippy::missing-panics-doc` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_panics_doc)]`
|
docs for function which may panic missing `# Panics` section:
src/module.rs#L185
error: docs for function which may panic missing `# Panics` section
--> src/module.rs:185:5
|
185 | / pub fn find_or_insert_std_section<T: StdPayload>(
186 | | &mut self,
187 | | insert_callback: impl FnOnce() -> T,
188 | | ) -> &mut Blob<T> {
| |_____________________^
|
note: first possible panic found here
--> src/module.rs:207:9
|
207 | / self.sections[index]
208 | | .try_as_mut()
209 | | .expect("internal error: couldn't convert back just inserted section")
| |__________________________________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `-D clippy::missing-panics-doc` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_panics_doc)]`
|
test
Clippy had exited with the 101 exit code
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|