Skip to content

Commit 637a221

Browse files
committed
fix(integration): use arrays instead of vec! for clippy useless_vec lint
1 parent 29e571e commit 637a221

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cipherstash-proxy-integration/src/ore_order_helpers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl SortDirection {
2828

2929
/// Text ASC ordering with lexicographic edge cases.
3030
pub async fn ore_order_text(client: &tokio_postgres::Client) {
31-
let values = vec![
31+
let values = [
3232
"aardvark",
3333
"apparatus",
3434
"aplomb",
@@ -58,7 +58,7 @@ pub async fn ore_order_text(client: &tokio_postgres::Client) {
5858

5959
/// Text DESC ordering with lexicographic edge cases.
6060
pub async fn ore_order_text_desc(client: &tokio_postgres::Client) {
61-
let values = vec![
61+
let values = [
6262
"aardvark",
6363
"apparatus",
6464
"aplomb",

0 commit comments

Comments
 (0)