Continuous integration #2039
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 warning
methods called `new` usually return `Self`:
src/serial/uart_impls.rs#L34
warning: methods called `new` usually return `Self`
--> src/serial/uart_impls.rs:34:5
|
34 | / fn new<UART: Instance<RegisterBlock = Self>, WORD>(
35 | | uart: UART,
36 | | pins: (impl Into<UART::Tx<PushPull>>, impl Into<UART::Rx<PushPull>>),
37 | | config: impl Into<config::Config>,
38 | | clocks: &Clocks,
39 | | ) -> Result<Serial<UART, WORD>, config::InvalidConfig>;
| |___________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self
= note: `#[warn(clippy::new_ret_no_self)]` on by default
|