Skip to content

Commit 57f1517

Browse files
committed
fix rustfmt and add changelog
1 parent a0a204f commit 57f1517

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

embassy-time/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
<!-- next-header -->
99
## Unreleased - ReleaseDate
1010

11+
- Add as_nanos and from_nanos where missing
12+
1113
## 0.5.0 - 2025-08-26
1214

1315
- Allow inlining on time driver boundary

embassy-time/src/instant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use core::fmt;
22
use core::ops::{Add, AddAssign, Sub, SubAssign};
33

4-
use super::{Duration, GCD_1K, GCD_1M, GCD_1G, TICK_HZ};
4+
use super::{Duration, GCD_1G, GCD_1K, GCD_1M, TICK_HZ};
55

66
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
77
#[cfg_attr(feature = "defmt", derive(defmt::Format))]

0 commit comments

Comments
 (0)