mirror of
https://github.com/lune-org/lune.git
synced 2025-04-04 10:30:54 +01:00
Comment out seed for now because it's unused
This commit is contained in:
parent
81f9080893
commit
99ced26982
1 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@ pub struct HashOptions {
|
|||
algorithm: HashAlgorithm,
|
||||
message: BString,
|
||||
secret: Option<BString>,
|
||||
seed: Option<BString>,
|
||||
// seed: Option<BString>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
@ -201,16 +201,16 @@ impl<'lua> FromLuaMulti<'lua> for HashOptions {
|
|||
.pop_front()
|
||||
.map(|value| BString::from_lua(value, lua))
|
||||
.transpose()?;
|
||||
let seed = values
|
||||
.pop_front()
|
||||
.map(|value| BString::from_lua(value, lua))
|
||||
.transpose()?;
|
||||
// let seed = values
|
||||
// .pop_front()
|
||||
// .map(|value| BString::from_lua(value, lua))
|
||||
// .transpose()?;
|
||||
|
||||
Ok(HashOptions {
|
||||
algorithm,
|
||||
message,
|
||||
secret,
|
||||
seed,
|
||||
// seed,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue