Skip to content

Commit

Permalink
Use $crate
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 3, 2021
1 parent e964303 commit 8a2c8b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ macro_rules! rosmsg_include {
geometry_msgs/Vector3,
$($ns/$msg),*
);
::ros_nalgebra::ros_nalgebra!(self);
$crate::ros_nalgebra!(self);
}
}

Expand Down Expand Up @@ -246,10 +246,10 @@ macro_rules! ros_nalgebra_msg {
#[macro_export]
macro_rules! ros_nalgebra {
($ns:ident) => {
::ros_nalgebra::ros_nalgebra_msg!($ns, Point);
::ros_nalgebra::ros_nalgebra_msg!($ns, Vector3);
::ros_nalgebra::ros_nalgebra_msg!($ns, Quaternion);
::ros_nalgebra::ros_nalgebra_msg!($ns, Pose);
::ros_nalgebra::ros_nalgebra_msg!($ns, Transform);
$crate::ros_nalgebra_msg!($ns, Point);
$crate::ros_nalgebra_msg!($ns, Vector3);
$crate::ros_nalgebra_msg!($ns, Quaternion);
$crate::ros_nalgebra_msg!($ns, Pose);
$crate::ros_nalgebra_msg!($ns, Transform);
};
}

0 comments on commit 8a2c8b1

Please sign in to comment.