Comment out seed for now because it's unused

This commit is contained in:
Micah 2024-06-02 15:22:23 -07:00
parent 81f9080893
commit 99ced26982
No known key found for this signature in database

View file

@ -11,7 +11,7 @@ pub struct HashOptions {
algorithm: HashAlgorithm, algorithm: HashAlgorithm,
message: BString, message: BString,
secret: Option<BString>, secret: Option<BString>,
seed: Option<BString>, // seed: Option<BString>,
} }
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
@ -201,16 +201,16 @@ impl<'lua> FromLuaMulti<'lua> for HashOptions {
.pop_front() .pop_front()
.map(|value| BString::from_lua(value, lua)) .map(|value| BString::from_lua(value, lua))
.transpose()?; .transpose()?;
let seed = values // let seed = values
.pop_front() // .pop_front()
.map(|value| BString::from_lua(value, lua)) // .map(|value| BString::from_lua(value, lua))
.transpose()?; // .transpose()?;
Ok(HashOptions { Ok(HashOptions {
algorithm, algorithm,
message, message,
secret, secret,
seed, // seed,
}) })
} }
} }