mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Readability fixes for cargo clippy
This commit is contained in:
@@ -7,7 +7,7 @@ const PAID_BALANCE_PARAM_KEY: u8 = 87;
|
||||
pub(super) fn balance_wallet_provider() -> SimpleFunc<66, crate::UserTy, impl (Fn(ParameterTable, &crate::UserTy) -> Result<ParameterTable, i16>) + Sync + Sync> {
|
||||
SimpleFunc::new(|params, _| {
|
||||
let mut params = params.to_dict();
|
||||
params.insert(FREE_BALANCE_PARAM_KEY, Typed::Long(31337_000));
|
||||
params.insert(FREE_BALANCE_PARAM_KEY, Typed::Long(31_337_000));
|
||||
params.insert(PAID_BALANCE_PARAM_KEY, Typed::Long(1));
|
||||
Ok(params.into())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user