diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-01-14 11:53:59 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-14 11:53:59 +0000 |
| commit | 516ad6d8fdcb28b37680ed0d81017060141b1174 (patch) | |
| tree | d96216d720a63ce45b09c556105cc3d67333b956 | |
| parent | 167af012114cca8747e65d0dc5157f066bb2ed5d (diff) | |
| parent | cdb4f706462512b64deb5960a099407894948b89 (diff) | |
Merge #578
578: Fix typo in defuse doc comment r=Dirbaio a=danbev
Co-authored-by: Daniel Bevenius <[email protected]>
| -rw-r--r-- | embassy-hal-common/src/drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-hal-common/src/drop.rs b/embassy-hal-common/src/drop.rs index 74a484de7..3a90dd509 100644 --- a/embassy-hal-common/src/drop.rs +++ b/embassy-hal-common/src/drop.rs | |||
| @@ -38,7 +38,7 @@ impl DropBomb { | |||
| 38 | Self { _private: () } | 38 | Self { _private: () } |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | /// Diffuses the bomb, rendering it safe to drop. | 41 | /// Defuses the bomb, rendering it safe to drop. |
| 42 | pub fn defuse(self) { | 42 | pub fn defuse(self) { |
| 43 | mem::forget(self) | 43 | mem::forget(self) |
| 44 | } | 44 | } |
