diff --git a/crates/rdsys-backend-api/src/proto.rs b/crates/rdsys-backend-api/src/proto.rs index 9ecbaec..4b21da1 100644 --- a/crates/rdsys-backend-api/src/proto.rs +++ b/crates/rdsys-backend-api/src/proto.rs @@ -34,7 +34,7 @@ impl Resource { /// using "Jones" coefficients. Changing go's polynomial to match rust's still doesn't make the hashes the same. /// We use the get_uid in this case for an identifier in the distributor so as long as it is unique, it doesn't /// strictly need to match the value in rdsys' backend. - pub fn get_uid(self: &Self) -> Result { + pub fn get_uid(&self) -> Result { let hex_fingerprint = match hex::decode(self.fingerprint.clone()) { Ok(hex_fingerprint) => hex_fingerprint, Err(e) => return Err(e),