mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 06:11:26 +00:00
clippy
This commit is contained in:
parent
ebcde207ac
commit
1e1ab68b29
1 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ mod tests {
|
|||
|
||||
#[tokio::test]
|
||||
#[serial]
|
||||
#[expect(clippy::indexing_slicing)]
|
||||
async fn test_allowlist_insert_and_clear() -> Result<(), Error> {
|
||||
let pool = &build_db_pool_for_tests();
|
||||
let pool = &mut pool.into();
|
||||
|
@ -84,7 +85,7 @@ mod tests {
|
|||
.collect();
|
||||
|
||||
for f in &forms {
|
||||
AdminAllowInstance::allow(pool, &f).await?;
|
||||
AdminAllowInstance::allow(pool, f).await?;
|
||||
}
|
||||
|
||||
let allows = Instance::allowlist(pool).await?;
|
||||
|
|
Loading…
Reference in a new issue