Skip to content

Commit

Permalink
Remove Sync trait, format
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Aug 3, 2023
1 parent a5bdb07 commit d02ccc5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion rclrs/src/clock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ impl Drop for rcl_clock_t {
// SAFETY: The functions accessing this type, including drop(), shouldn't care about the thread
// they are running in. Therefore, this type can be safely sent to another thread.
unsafe impl Send for rcl_clock_t {}
unsafe impl Sync for rcl_clock_t {}

#[cfg(test)]
mod tests {
Expand Down
2 changes: 1 addition & 1 deletion rclrs_tests/src/graph_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use rclrs::{
Context, Node, NodeBuilder, RclrsError, TopicEndpointInfo, TopicNamesAndTypes,
QOS_PROFILE_SYSTEM_DEFAULT,
};
use test_msgs::{msg, srv};
use std::sync::Arc;
use test_msgs::{msg, srv};

struct TestGraph {
node1: Arc<Node>,
Expand Down

0 comments on commit d02ccc5

Please sign in to comment.