Skip to content

Commit

Permalink
Merge pull request rp-rs#622 from jannic/clippy-warning
Browse files Browse the repository at this point in the history
Disable clippy warning
  • Loading branch information
ithinuel authored May 30, 2023
2 parents 0b16b13 + 6e0be27 commit 6496c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
target: thumbv6m-none-eabi
components: clippy
- run: cargo clippy --workspace --examples -- -Dwarnings
- run: cargo clippy --workspace --examples --all-features -- -Dwarnings
- run: |
cd on-target-tests
cargo clippy -- -Dwarnings
1 change: 1 addition & 0 deletions rp2040-hal/src/rtc/datetime_chrono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pub type DayOfWeek = chrono::Weekday;
///
/// [`DateTimeFilter`]: struct.DateTimeFilter.html
#[derive(Clone, Debug, PartialEq, Eq)]
#[allow(clippy::enum_variant_names)]
pub enum Error {
/// The [DateTime] has an invalid year. The year must be between 0 and 4095.
InvalidYear,
Expand Down

0 comments on commit 6496c26

Please sign in to comment.