mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +00:00
Remove Copy
implementation from all objects
It seems unexpected an unnecessary, as evidenced by the fact that it wasn't actually used anywhere. It also seems potentially error-prone, although I can't come up with specific examples right now. Either way, it's probably worth removing for the consistency alone.
This commit is contained in:
parent
fdc5c025bb
commit
3663be0ffc
@ -14,7 +14,7 @@
|
||||
/// If you need to reference a `Surface` from a struct that needs to derive
|
||||
/// `Eq`/`Ord`/..., you can use `HandleWrapper<Vertex>` to do that. It will
|
||||
/// use `Handle::id` to provide those `Eq`/`Ord`/... implementations.
|
||||
#[derive(Clone, Copy, Debug, Default)]
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub struct Surface {}
|
||||
|
||||
impl Surface {
|
||||
|
@ -83,7 +83,7 @@
|
||||
/// [`Sketch`]: crate::objects::Sketch
|
||||
/// [`Solid`]: crate::objects::Solid
|
||||
/// [`Surface`]: crate::objects::Surface
|
||||
#[derive(Clone, Copy, Debug, Default)]
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub struct Vertex {}
|
||||
|
||||
impl Vertex {
|
||||
|
Loading…
Reference in New Issue
Block a user