From dc9ce193f8749fe7ce80479832ab482854844bc8 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 10 Oct 2022 20:01:10 +0200 Subject: [PATCH] Rename argument --- crates/fj-operations/src/planes.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/fj-operations/src/planes.rs b/crates/fj-operations/src/planes.rs index 9b351ecd6..29d4601fb 100644 --- a/crates/fj-operations/src/planes.rs +++ b/crates/fj-operations/src/planes.rs @@ -25,10 +25,10 @@ impl Planes { /// /// Create one instance of this struct, then share it everywhere it's /// needed. - pub fn new(stores: &Objects) -> Self { - let xy = stores.surfaces.insert(Surface::xy_plane()); - let xz = stores.surfaces.insert(Surface::xz_plane()); - let yz = stores.surfaces.insert(Surface::yz_plane()); + pub fn new(objects: &Objects) -> Self { + let xy = objects.surfaces.insert(Surface::xy_plane()); + let xz = objects.surfaces.insert(Surface::xz_plane()); + let yz = objects.surfaces.insert(Surface::yz_plane()); Self { xy, xz, yz } }