We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969d94c commit b84de57Copy full SHA for b84de57
CHANGELOG.md
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
16
### Added
17
18
- `CountDown` implementation for `SysTimer`.
19
+- `Default` implementation for `SysTimer`.
20
21
### Changed
22
src/timer.rs
@@ -29,6 +29,12 @@ impl SysTimer {
29
}
30
31
32
+impl Default for SysTimer {
33
+ fn default() -> SysTimer {
34
+ SysTimer::new()
35
+ }
36
+}
37
+
38
impl CountDown for SysTimer {
39
type Error = Infallible;
40
type Time = Duration;
0 commit comments