Fixed clippy

This commit is contained in:
ccgauche 2021-03-10 21:10:08 +01:00
parent 908cf16090
commit 2cbbff7fb9

View File

@ -59,7 +59,8 @@ impl LoginProvider {
}; };
} }
pub fn try_login<'a, 'b>( #[allow(clippy::too_many_arguments)]
pub fn try_login<'a>(
&mut self, &mut self,
username_or_token: &str, username_or_token: &str,
#[cfg(feature = "plugins")] entities: &Entities<'a>, #[cfg(feature = "plugins")] entities: &Entities<'a>,