Skip to content

Commit 538583c

Browse files
committed
Update src/watchdog.rs
Co-authored-by: Diego Barrios Romero <[email protected]> Update this change to changelog; thanks @eldruin Update CHANGELOG.md Co-authored-by: Diego Barrios Romero <[email protected]> Update document
1 parent 6b20899 commit 538583c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88

99
## [Unreleased]
1010

11+
### Changed
12+
13+
- The watchdog API now uses move semantics. See [PR](https://github.com/rust-embedded/embedded-hal/pull/222).
14+
1115
## [v1.0.0-alpha.1] - 2020-06-16
1216

1317
*** This is an alpha release with breaking changes (sorry) ***

src/watchdog.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Traits for interactions with a processors watchdog timer.
22
33
/// Feeds an existing watchdog to ensure the processor isn't reset. Sometimes
4-
/// the "feeding" operation is commonly referred to as "refreshing".
4+
/// the "feeding" operation is also referred to as "refreshing".
55
pub trait Watchdog {
66
/// An enumeration of `Watchdog` errors.
77
///
@@ -54,7 +54,7 @@ pub trait Disable {
5454

5555
/// Disables the watchdog.
5656
///
57-
/// This stops the watchdog and returns the `Enable` trait so that
58-
/// it can be started again.
57+
/// This stops the watchdog and returns an instance implementing the
58+
/// `Enable` trait so that it can be started again.
5959
fn try_disable(self) -> Result<Self::Target, Self::Error>;
6060
}

0 commit comments

Comments
 (0)