Remove needless arbitrary self type

This commit is contained in:
Cecylia Bocovich 2023-06-16 12:32:54 -04:00
parent 67639e2f11
commit a57778a232
No known key found for this signature in database
GPG Key ID: 009DE379FD9B7B90
1 changed files with 1 additions and 1 deletions

View File

@ -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<u64, hex::FromHexError> {
pub fn get_uid(&self) -> Result<u64, hex::FromHexError> {
let hex_fingerprint = match hex::decode(self.fingerprint.clone()) {
Ok(hex_fingerprint) => hex_fingerprint,
Err(e) => return Err(e),