summaryrefslogtreecommitdiffstats
path: root/librepology/src/v1/types/repo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'librepology/src/v1/types/repo.rs')
-rw-r--r--librepology/src/v1/types/repo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/librepology/src/v1/types/repo.rs b/librepology/src/v1/types/repo.rs
index 7305ec6..062358e 100644
--- a/librepology/src/v1/types/repo.rs
+++ b/librepology/src/v1/types/repo.rs
@@ -1,7 +1,7 @@
use std::ops::Deref;
// name of repository for this package
-#[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize)]
+#[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize, new)]
pub struct Repo(String);
impl Deref for Repo {