forked from 1b-agent/opencadstudio-upstream
style: apply cargo fmt across workspace
This commit is contained in:
1 parent
85710e5454
commit
9cf9ff2c5c
531 files changed
+57740
-33906
No files matched your search
@@ -69,9 +69,8 @@ impl OpenCADStudio {
|
||||
task
|
||||
}
|
||||
Ok(Outcome::Current(current)) => {
|
||||
self.command_line.push_output(
|
||||
crate::tf!("Enter new value for {name} <{current}>:").as_ref(),
|
||||
);
|
||||
self.command_line
|
||||
.push_output(crate::tf!("Enter new value for {name} <{current}>:").as_ref());
|
||||
self.pending_setvar = Some(name);
|
||||
Task::none()
|
||||
}
|
||||
@@ -199,7 +198,11 @@ mod tests {
|
||||
}
|
||||
|
||||
fn last_line(app: &OpenCADStudio) -> String {
|
||||
app.command_line.history.last().map(|line| line.text.clone()).unwrap_or_default()
|
||||
app.command_line
|
||||
.history
|
||||
.last()
|
||||
.map(|line| line.text.clone())
|
||||
.unwrap_or_default()
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user