Skip to content

Commit

Permalink
fix import widestring in ros2_bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Apr 29, 2024
1 parent c25a02f commit 9891517
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/extensions/ros2-bridge/msg-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ where
quote! {},
quote! {
use serde::{Serialize, Deserialize};
use widestring;
},
quote! {},
)
Expand Down Expand Up @@ -265,7 +264,7 @@ where

impl ffi::U16String {
fn from_str(arg: &str) -> Self {
Self { chars: widestring::U16String::from_str(arg).into_vec()}
Self { chars: crate::_core::widestring::U16String::from_str(arg).into_vec()}
}
}

Expand Down

0 comments on commit 9891517

Please sign in to comment.