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 @@ pub(super) fn chat_settings_provider() -> SimpleFunc<18, crate::UserTy, impl (Fn
|
||||
SimpleFunc::new(|params, _| {
|
||||
let mut params = params.to_dict();
|
||||
params.insert(PARAM_KEY, Typed::HashMap(vec![
|
||||
(Typed::Str("chatEnabled".into()), Typed::Bool(true.into())),
|
||||
(Typed::Str("chatEnabled".into()), Typed::Bool(true)),
|
||||
].into()));
|
||||
Ok(params.into())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user