forked from 1b-agent/opencadstudio-upstream
chore(lints): fix compiler warnings and clippy array suggestions
This commit is contained in:
1 parent
66fccc217e
commit
531ba44faa
5 files changed
+30
-25
No files matched your search
@@ -2411,7 +2411,7 @@ mod tests {
|
||||
assert_eq!(keywords(&command), ["P", "R"]);
|
||||
// The host hands the restored document back; the cache follows it.
|
||||
let mut doc = acadrust::CadDocument::new();
|
||||
doc.add_entity(line(0.0, 0.0, 20.0, 0.0, 7));
|
||||
let _ = doc.add_entity(line(0.0, 0.0, 20.0, 0.0, 7));
|
||||
command.on_document_undone(&doc);
|
||||
assert_eq!(command.all_entities.len(), 1);
|
||||
assert_eq!(command.all_entities[0].common().handle, Handle::new(7));
|
||||
|
||||
Reference in new issue
Block a user