Enable more lints and apply their suggestions

This commit is contained in:
Jonas Platte
2021-10-13 10:24:39 +02:00
parent 09895a20c8
commit 1c4d9af586
13 changed files with 47 additions and 40 deletions

View File

@@ -81,7 +81,7 @@ impl KeyBackups {
)?;
self.backupid_etag
.insert(&key, &globals.next_count()?.to_be_bytes())?;
Ok(version.to_string())
Ok(version.to_owned())
}
pub fn get_latest_backup_version(&self, user_id: &UserId) -> Result<Option<String>> {