aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-11 15:12:45 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-11 15:12:45 -0700
commit2162c7b87ac737b9fcb4e3cab1b80f5dede2c6ec (patch)
tree8a5fa78a154a6ff48c5c4cf4c8d6cff2c3c70d69 /rust
parent14e14de8be12256e623ca4a147b62469c0fc16ab (diff)
downloadfatcat-2162c7b87ac737b9fcb4e3cab1b80f5dede2c6ec.tar.gz
fatcat-2162c7b87ac737b9fcb4e3cab1b80f5dede2c6ec.zip
derive PartialEq for FatCatId
Diffstat (limited to 'rust')
-rw-r--r--rust/src/api_helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/api_helpers.rs b/rust/src/api_helpers.rs
index b1d2de94..ee1f9f14 100644
--- a/rust/src/api_helpers.rs
+++ b/rust/src/api_helpers.rs
@@ -169,7 +169,7 @@ pub fn accept_editgroup(editgroup_id: FatCatId, conn: &DbConn) -> Result<Changel
Ok(entry)
}
-#[derive(Clone, Copy)]
+#[derive(Clone,Copy,PartialEq)]
pub struct FatCatId(Uuid);
impl ToString for FatCatId {