Skip to content

Commit 60cf307

Browse files
committed
Also use rust 1.84 for clippy runs, and fix some clippy lints
1 parent 10f37f3 commit 60cf307

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: dtolnay/rust-toolchain@master
1515
with:
16-
toolchain: 1.75.0
16+
toolchain: 1.84.0
1717
components: clippy
1818
- run: cargo clippy --all-features -- --deny=warnings

src/timer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub trait Periodic {}
1515
/// # Contract
1616
///
1717
/// - `self.start(count); block!(self.wait());` MUST block for AT LEAST the time specified by
18-
/// `count`.
18+
/// `count`.
1919
///
2020
/// *Note* that the implementer doesn't necessarily have to be a *downcounting* timer; it could also
2121
/// be an *upcounting* timer as long as the above contract is upheld.
@@ -71,9 +71,9 @@ pub trait CountDown {
7171
/// # Contract
7272
///
7373
/// - If `Self: Periodic`, the timer will start a new count down right after the last one
74-
/// finishes.
74+
/// finishes.
7575
/// - Otherwise the behavior of calling `wait` after the last call returned `Ok` is UNSPECIFIED.
76-
/// Implementers are suggested to panic on this scenario to signal a programmer error.
76+
/// Implementers are suggested to panic on this scenario to signal a programmer error.
7777
fn wait(&mut self) -> nb::Result<(), Self::Error>;
7878
}
7979

0 commit comments

Comments
 (0)