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 3a545c9 commit 20b94a2Copy full SHA for 20b94a2
src/utils/calc.rs
@@ -240,9 +240,8 @@ impl SlotCalculator {
240
let timestamp = now.timestamp() as u64;
241
let millis = now.timestamp_subsec_millis() as u64;
242
243
- self.point_within_slot(timestamp).map(|point| {
244
- std::time::Duration::from_secs(point).as_millis() as u64 + millis
245
- })
+ self.point_within_slot(timestamp)
+ .map(|point| std::time::Duration::from_secs(point).as_millis() as u64 + millis)
246
}
247
248
/// Calculates the slot that starts at the given timestamp.
0 commit comments