diff --git a/tests/empty_insert_tests.rs b/tests/empty_insert_tests.rs index bc97855a7..5c17b5e5f 100644 --- a/tests/empty_insert_tests.rs +++ b/tests/empty_insert_tests.rs @@ -37,7 +37,7 @@ pub async fn test(db: &DbConn) { assert!(matches!(res, TryInsertResult::Inserted(_))); - let empty_insert = Bakery::insert_many(std::iter::empty()) + let empty_insert = Bakery::insert_many(std::iter::empty::()) .on_empty_do_nothing() .exec(db) .await;