mirror of
https://github.com/lune-org/lune.git
synced 2025-04-10 21:40: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,
|
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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue