From d56ae4d6a02fb55371c6d9e3451aa731a5fec666 Mon Sep 17 00:00:00 2001 From: Riccardo Mazzarini Date: Wed, 2 Oct 2024 11:18:33 +0800 Subject: [PATCH] chore: fix clippy --- crates/api/src/trait_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/api/src/trait_utils.rs b/crates/api/src/trait_utils.rs index a9617f4c..df1b7d8d 100644 --- a/crates/api/src/trait_utils.rs +++ b/crates/api/src/trait_utils.rs @@ -163,7 +163,7 @@ impl HlGroup for &str { let hl_id = unsafe { crate::ffi::helpers::object_to_hl_id( obj, - b"hl_group\0".as_ptr() as *const _, + c"hl_group".as_ptr() as *const _, &mut err, ) };