From 302b1e3540eb63af0be9f3f933b4904bb0bc5edc Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 16 Mar 2022 15:37:57 +0100 Subject: [PATCH] Update trait name --- fj/src/lib.rs | 2 +- fj/src/syntax.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fj/src/lib.rs b/fj/src/lib.rs index 680d1926c..44f967bbc 100644 --- a/fj/src/lib.rs +++ b/fj/src/lib.rs @@ -16,7 +16,7 @@ mod syntax; pub mod prelude { pub use crate::syntax::{ - Rotate as _, Sketch as _, Sweep as _, Translate as _, Union as _, + Group as _, Rotate as _, Sketch as _, Sweep as _, Translate as _, }; } diff --git a/fj/src/syntax.rs b/fj/src/syntax.rs index 2a206821e..7c809c713 100644 --- a/fj/src/syntax.rs +++ b/fj/src/syntax.rs @@ -70,13 +70,13 @@ where } } -pub trait Union { +pub trait Group { fn group(&self, other: &Other) -> crate::Group where Other: Clone + Into; } -impl Union for T +impl Group for T where T: Clone + Into, {