Follow clippy

This commit is contained in:
Kitaiti Makoto 2022-02-25 23:38:36 +09:00
parent 5bd467c4c1
commit 75b43a738f

View File

@ -754,14 +754,8 @@ impl NewBlog {
pub(crate) mod tests { pub(crate) mod tests {
use super::*; use super::*;
use crate::{ use crate::{
blog_authors::*, blog_authors::*, instance::tests as instance_tests, medias::NewMedia, tests::db,
instance::tests as instance_tests, users::tests as usersTests, Connection as Conn,
medias::NewMedia,
post_authors::{NewPostAuthor, PostAuthor},
posts::{NewPost, Post},
tests::db,
users::tests as usersTests,
Connection as Conn, ITEMS_PER_PAGE,
}; };
use assert_json_diff::assert_json_eq; use assert_json_diff::assert_json_eq;
use diesel::Connection; use diesel::Connection;