forked from 1b-agent/opencadstudio-upstream
style: rustfmt the tree so the CI lint check passes
This commit is contained in:
1 parent
1317a7b4fd
commit
6025d8be44
128 files changed
+4097
-1676
No files matched your search
@@ -553,7 +553,11 @@ impl CommandLine {
|
||||
let fade = self.fade_secs();
|
||||
let now = Instant::now();
|
||||
for entry in &mut self.history {
|
||||
if since.saturating_duration_since(entry.created_at).as_secs_f32() < fade {
|
||||
if since
|
||||
.saturating_duration_since(entry.created_at)
|
||||
.as_secs_f32()
|
||||
< fade
|
||||
{
|
||||
entry.created_at = now;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user