mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Fix clippy
This commit is contained in:
parent
fb954e946c
commit
0b8e29d094
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ mod tests {
|
||||||
let inserted_post = Post::create(&conn, &new_post).unwrap();
|
let inserted_post = Post::create(&conn, &new_post).unwrap();
|
||||||
|
|
||||||
let new_bot_post = PostForm {
|
let new_bot_post = PostForm {
|
||||||
name: bot_post_name.to_owned(),
|
name: bot_post_name,
|
||||||
creator_id: inserted_bot.id,
|
creator_id: inserted_bot.id,
|
||||||
community_id: inserted_community.id,
|
community_id: inserted_community.id,
|
||||||
..PostForm::default()
|
..PostForm::default()
|
||||||
|
|
Loading…
Reference in a new issue