We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 042c456 commit 6240a6bCopy full SHA for 6240a6b
rclrs/src/publisher.rs
@@ -232,9 +232,7 @@ where
232
233
/// Returns true if message loans are possible, false otherwise.
234
pub fn can_loan_messages(&self) -> bool {
235
- unsafe {
236
- rcl_publisher_can_loan_messages(&*self.handle.rcl_publisher.lock().unwrap())
237
- }
+ unsafe { rcl_publisher_can_loan_messages(&*self.handle.rcl_publisher.lock().unwrap()) }
238
}
239
240
0 commit comments