Skip to content

Commit

Permalink
Fix wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Jun 16, 2024
1 parent c3c5243 commit da6e9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust_crate/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ macro_rules! write_interface {
#[cfg(target_family = "wasm")]
#[wasm_bindgen::prelude::wasm_bindgen]
pub fn send_dart_signal_extern(message_id: i32, message_bytes: &[u8], binary: &[u8]) {
let message_bytes = message_bytes.to_vec();
let message_bytes = message_bytes;
let binary = binary.to_vec();
messages::generated::handle_dart_signal(message_id, message_bytes, binary);
}
Expand Down

0 comments on commit da6e9b0

Please sign in to comment.