Skip to content

Commit 62f86a5

Browse files
committed
minor: update cargo.lock
1 parent 529662f commit 62f86a5

File tree

2 files changed

+33
-31
lines changed

2 files changed

+33
-31
lines changed

datafusion-cli/Cargo.lock

Lines changed: 27 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datafusion/physical-expr/benches/scalar_regex_match.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ fn make_record_batch(rows: usize, string_length: usize, schema: Schema) -> Recor
4242
}
4343

4444
/// initialize benchmark data and pattern literals
45+
#[allow(clippy::type_complexity)]
4546
fn init_benchmark() -> (
4647
Vec<(usize, RecordBatch)>,
4748
Schema,
@@ -66,24 +67,24 @@ fn init_benchmark() -> (
6667
// some pattern literal
6768
let pattern_lit = vec![
6869
(
69-
format!("email"),
70+
"email".to_string(),
7071
lit(r"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$"),
7172
),
7273
(
73-
format!("url"),
74+
"url".to_string(),
7475
lit(r"^(https?|ftp)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$"),
7576
),
7677
(
77-
format!("ip"),
78+
"ip".to_string(),
7879
lit(
7980
r"^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
8081
),
8182
),
8283
(
83-
format!("phone"),
84+
"phone".to_string(),
8485
lit(r"^(\+\d{1,2}\s?)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}$"),
8586
),
86-
(format!("zip_code"), lit(r"^\d{5}(?:[-\s]\d{4})?$")),
87+
("zip_code".to_string(), lit(r"^\d{5}(?:[-\s]\d{4})?$")),
8788
];
8889
(batch_data, schema, string_col, pattern_lit)
8990
}

0 commit comments

Comments
 (0)