Skip to content

Continuous integration #787

Continuous integration

Continuous integration #787

GitHub Actions / clippy succeeded Jan 23, 2025 in 0s

clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
Note 0
Help 0

Versions

  • rustc 1.84.0 (9fc6b4312 2025-01-07)
  • cargo 1.84.0 (66221abde 2024-11-19)
  • clippy 0.1.84 (9fc6b43126 2025-01-07)

Annotations

Check warning on line 44 in src/rtc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after doc comment

warning: empty line after doc comment
  --> src/rtc.rs:28:1
   |
28 | / /**
29 | |   Real time clock
30 | |
31 | |   A continuously running clock that counts seconds¹. It is part of the backup domain which means
...  |
43 | | */
44 | |
   | |_^
45 |   pub struct Rtc<CS = RtcClkLse> {
   |   ------------------------------ the comment documents this struct
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
   = help: if the empty line is unintentional remove it

Check warning on line 190 in src/rcc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after doc comment

warning: empty line after doc comment
   --> src/rcc.rs:189:5
    |
189 | /     /// ```
190 | |
    | |_^
191 |       #[inline(always)]
192 |       pub fn freeze(self, acr: &mut ACR) -> Clocks {
    |       -------------------------------------------- the comment documents this method
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
    = help: if the empty line is unintentional remove it

Check warning on line 522 in src/gpio.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after doc comment

warning: empty line after doc comment
   --> src/gpio.rs:516:5
    |
516 | /     /**
517 | |       Set the output of the pin regardless of its mode.
518 | |       Primarily used to set the output value of the pin
519 | |       before changing its mode to an output to avoid
520 | |       a short spike of an incorrect value
521 | |     */
522 | |
    | |_^
523 |       #[inline(always)]
524 |       fn _set_state(&mut self, state: PinState) {
    |       ----------------------------------------- the comment documents this method
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
    = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
    = help: if the empty line is unintentional remove it

Check warning on line 66 in src/flash.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
  --> src/flash.rs:66:6
   |
66 | impl<'a> FlashWriter<'a> {
   |      ^^              ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
   |
66 - impl<'a> FlashWriter<'a> {
66 + impl FlashWriter<'_> {
   |