File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments