rp-rs / rp-hal

A Rust Embedded-HAL for the rp series microcontrollers
https://crates.io/crates/rp2040-hal
Apache License 2.0
1.46k stars 237 forks source link

Disable several warnings that show up with rust 1.82.0(beta) #849

Closed jannic closed 2 months ago

jannic commented 2 months ago

For most, I didn't find a good solution that would work with both rust 1.81.0 and 1.82.0.

clippy::too_long_first_doc_paragraph is an exception, this could be solved by rephrasing the doc comments. However I didn't want to edit all the doc comments for the rom functions.

thejpster commented 2 months ago

Ugh, it's a shame this was necessary. Your fix looks OK.

jannic commented 2 months ago

This may still change: https://github.com/rust-lang/rust/issues/129352#issuecomment-2339084913