Skip to content

Commit 6240a6b

Browse files
committed
Fix formatting
1 parent 042c456 commit 6240a6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rclrs/src/publisher.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ where
232232

233233
/// Returns true if message loans are possible, false otherwise.
234234
pub fn can_loan_messages(&self) -> bool {
235-
unsafe {
236-
rcl_publisher_can_loan_messages(&*self.handle.rcl_publisher.lock().unwrap())
237-
}
235+
unsafe { rcl_publisher_can_loan_messages(&*self.handle.rcl_publisher.lock().unwrap()) }
238236
}
239237
}
240238

0 commit comments

Comments
 (0)