Skip to content

Commit

Permalink
refactor: re-order derives for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Jul 9, 2021
1 parent ac45890 commit 23843b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl fmt::Display for UniqueId {
}
}

#[derive(Debug, Clone, Copy, Eq, Hash, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum Vendor {
Amd,
Nvidia,
Expand Down Expand Up @@ -192,7 +192,7 @@ impl fmt::Display for Vendor {
}
}

#[derive(Debug, Clone, Copy, Eq, Hash, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum Framework {
Cuda,
Opencl,
Expand Down

0 comments on commit 23843b8

Please sign in to comment.