Commit c4c85ce1 authored by NOEL Philippe's avatar NOEL Philippe

Add Copy trait for AtomTypes to implement trivial Clone trait

parent ce463fde
......@@ -72,7 +72,9 @@ pub enum AtomTypes {
Water,
}
impl<T> Clone for AtomTypes<T> {
impl Copy for AtomTypes { }
impl Clone for AtomTypes {
fn clone(&self) -> Self {
*self
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment