fix TimeMsg build when rosrust enabled

This commit is contained in:
stelzo 2024-05-14 18:04:58 +02:00
parent 3d85d740e3
commit 90c32dc642
1 changed files with 0 additions and 1 deletions

View File

@ -24,7 +24,6 @@
//! ``` //! ```
/// [Time](https://docs.ros2.org/latest/api/builtin_interfaces/msg/Time.html) representation for ROS messages. /// [Time](https://docs.ros2.org/latest/api/builtin_interfaces/msg/Time.html) representation for ROS messages.
#[cfg(not(feature = "rosrust_msg"))]
#[derive(Clone, Debug, Default)] #[derive(Clone, Debug, Default)]
pub struct TimeMsg { pub struct TimeMsg {
pub sec: i32, pub sec: i32,