Skip to content

merge queue

merge queue #780

Triggered via pull request July 28, 2023 18:15
@burrbullburrbull
synchronize #467
merge-queue
Status Success
Total duration 50s
Artifacts

clippy.yml

on: pull_request
clippy_check
39s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
unsafe function's docs miss `# Safety` section: src/gpio.rs#L128
warning: unsafe function's docs miss `# Safety` section --> src/gpio.rs:128:5 | 128 | unsafe fn split_without_reset(self) -> Self::Parts; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc = note: `#[warn(clippy::missing_safety_doc)]` on by default
casting to the same type is unnecessary (`u32` -> `u32`): src/flash.rs#L212
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> src/flash.rs:212:37 | 212 | if offset + length as u32 > self.flash_sz.kbytes() as u32 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.flash_sz.kbytes()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`u32` -> `u32`): src/flash.rs#L181
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> src/flash.rs:181:56 | 181 | let write_address = (FLASH_START + idx as u32) as *const u16; | ^^^^^^^^^^ help: try: `idx` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`u32` -> `u32`): src/flash.rs#L115
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> src/flash.rs:115:37 | 115 | if offset + length as u32 > self.flash_sz.kbytes() as u32 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.flash_sz.kbytes()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/