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, {