Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed Nov 24, 2024
1 parent 042c456 commit 6240a6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rclrs/src/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ where

/// Returns true if message loans are possible, false otherwise.
pub fn can_loan_messages(&self) -> bool {
unsafe {
rcl_publisher_can_loan_messages(&*self.handle.rcl_publisher.lock().unwrap())
}
unsafe { rcl_publisher_can_loan_messages(&*self.handle.rcl_publisher.lock().unwrap()) }
}
}

Expand Down

0 comments on commit 6240a6b

Please sign in to comment.