Skip to content

Commit 3a3e12b

Browse files
committed
Fix clippy
1 parent 471a636 commit 3a3e12b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/sqlparser_common.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14069,8 +14069,7 @@ fn test_table_sample() {
1406914069

1407014070
#[test]
1407114071
fn overflow() {
14072-
let expr = std::iter::repeat("1")
14073-
.take(1000)
14072+
let expr = std::iter::repeat_n("1", 1000)
1407414073
.collect::<Vec<_>>()
1407514074
.join(" + ");
1407614075
let sql = format!("SELECT {}", expr);

0 commit comments

Comments
 (0)