Skip to content

Commit

Permalink
Remove Option from file hashes (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eskaan committed Jun 19, 2022
1 parent f815644 commit 3edba97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/version_structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ pub struct VersionFile {
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct Hashes {
/// The SHA512 hash of the version file
pub sha512: Option<String>,
pub sha512: String,
/// The SHA1 hash of the version file
pub sha1: Option<String>,
pub sha1: String,
}

#[derive(Deserialize, Serialize, Debug, Clone)]
Expand Down

0 comments on commit 3edba97

Please sign in to comment.