Skip to content

Commit

Permalink
Make Authors derive Debug, Clone and serialization.
Browse files Browse the repository at this point in the history
All the other similar types seem to derive those traits, but not this one. It seems like an accidental omission.
  • Loading branch information
obi1kenobi authored and theduke committed May 22, 2023
1 parent cb349c8 commit 25aa6a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ pub(crate) struct AuthorsResponse {
}

/// Crate author names.
#[derive(Serialize, Deserialize, Debug, Clone)]
#[allow(missing_docs)]
pub struct Authors {
pub names: Vec<String>,
Expand Down

0 comments on commit 25aa6a5

Please sign in to comment.