mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-14 11:15:53 +00:00
Rename argument
This commit is contained in:
parent
61e9510e7c
commit
da5cf263a1
@ -19,7 +19,7 @@ impl Shape for fj::Difference2d {
|
||||
fn compute_brep(
|
||||
&self,
|
||||
config: &ValidationConfig,
|
||||
stores: &Objects,
|
||||
objects: &Objects,
|
||||
planes: &Planes,
|
||||
debug_info: &mut DebugInfo,
|
||||
) -> Result<Validated<Self::Brep>, ValidationError> {
|
||||
@ -36,7 +36,7 @@ impl Shape for fj::Difference2d {
|
||||
// - https://doc.rust-lang.org/std/primitive.array.html#method.try_map
|
||||
let [a, b] = self.shapes();
|
||||
let [a, b] = [a, b].map(|shape| {
|
||||
shape.compute_brep(config, stores, planes, debug_info)
|
||||
shape.compute_brep(config, objects, planes, debug_info)
|
||||
});
|
||||
let [a, b] = [a?, b?];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user