Skip to content

Commit e552ab7

Browse files
committed
refactor(cubesql): Fix get_first warning
1 parent de1302b commit e552ab7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rust/cubesql/cubesql/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ collapsible_else_if = "allow"
9797
comparison_chain = "allow"
9898
derive_ord_xor_partial_ord = "allow"
9999
field_reassign_with_default = "allow"
100-
get_first = "allow"
101100
identity_op = "allow"
102101
if_same_then_else = "allow"
103102
into_iter_on_ref = "allow"

rust/cubesql/cubesql/e2e/tests/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ impl AsyncTestSuite for PostgresIntegrationTestSuite {
12691269
|rows| {
12701270
assert_eq!(rows.len(), 1);
12711271

1272-
let columns = rows.get(0).unwrap().columns();
1272+
let columns = rows.first().unwrap().columns();
12731273
assert_eq!(
12741274
columns
12751275
.into_iter()

0 commit comments

Comments
 (0)