Commit 41a0fe6b authored by Ben Boeckel's avatar Ben Boeckel
Browse files

clippy: impl `Copy` for structures which make sense

parent 2ceb6b20
......@@ -549,7 +549,7 @@ pub struct Project {
pub permissions: Option<Permissions>,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
/// Statistics about a project.
pub struct ProjectStatistics {
/// The number of commits in the repository.
......@@ -714,7 +714,7 @@ pub struct Group {
pub statistics: Option<ProjectStatistics>,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
/// Statistics about a group.
pub struct GroupStatistics {
/// The size, in bytes, of the total storage required for the group.
......
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