forked from 1b-agent/opencadstudio-upstream
style: apply cargo fmt across workspace (as on main)
Formats the branch the way main's 9cf9ff2 did, so merging main only
conflicts where the code itself differs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RyGiMXcsf9HTKfqDxaQGt
This commit is contained in:
532 files changed
+56995
-33416
No files matched your search
@@ -26,10 +26,7 @@ fn copy_dimension_duplicates_its_block() {
|
||||
scene.document.add_entity(sub_e).unwrap();
|
||||
|
||||
// A linear dimension whose drawn geometry is that baked block.
|
||||
let mut dim = DimensionLinear::new(
|
||||
Vector3::new(0.0, 0.0, 0.0),
|
||||
Vector3::new(10.0, 0.0, 0.0),
|
||||
);
|
||||
let mut dim = DimensionLinear::new(Vector3::new(0.0, 0.0, 0.0), Vector3::new(10.0, 0.0, 0.0));
|
||||
dim.base.block_name = "*D0".to_string();
|
||||
let dim_h = scene.add_entity(EntityType::Dimension(Dimension::Linear(dim)));
|
||||
|
||||
@@ -67,6 +64,9 @@ fn copy_dimension_duplicates_its_block() {
|
||||
(l.start.x, l.start.y),
|
||||
(l.end.x, l.end.y)
|
||||
),
|
||||
other => panic!("copy block sub is not a line: {:?}", other.map(std::mem::discriminant)),
|
||||
other => panic!(
|
||||
"copy block sub is not a line: {:?}",
|
||||
other.map(std::mem::discriminant)
|
||||
),
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user