Skip to content

Commit 5b3ff39

Browse files
adriangbCopilot
andauthored
Update src/common.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d09966b commit 5b3ff39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::common_union::{
2121
/// Downstream consumers (e.g. the rewrite layer, other UDFs) use this to
2222
/// recognize JSON-bearing string columns.
2323
pub fn is_json_metadata() -> HashMap<String, String> {
24-
HashMap::from_iter(vec![("is_json".to_string(), "true".to_string())])
24+
HashMap::from([("is_json".to_string(), "true".to_string())])
2525
}
2626

2727
/// General implementation of `ScalarUDFImpl::return_type`.

0 commit comments

Comments
 (0)