mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-10 03:06:06 +00:00
Inline redundant variables
This commit is contained in:
parent
5bbd1a11d8
commit
97c06be88a
@ -127,10 +127,8 @@ impl ShellValidationError {
|
|||||||
// data-structure like an octree.
|
// data-structure like an octree.
|
||||||
for (edge_a, surface_a) in &edges_and_surfaces {
|
for (edge_a, surface_a) in &edges_and_surfaces {
|
||||||
for (edge_b, surface_b) in &edges_and_surfaces {
|
for (edge_b, surface_b) in &edges_and_surfaces {
|
||||||
let id = edge_a.global_form().id();
|
let identical =
|
||||||
let other_id = edge_b.global_form().id();
|
edge_a.global_form().id() == edge_b.global_form().id();
|
||||||
|
|
||||||
let identical = id == other_id;
|
|
||||||
|
|
||||||
match identical {
|
match identical {
|
||||||
true => {
|
true => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user