Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
esteve committed Nov 9, 2023
1 parent 90cf785 commit 439b443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rclrs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ fn main() {
"ROS_DISTRO environment variable not set - please source ROS 2 installation first.";
cfg_if::cfg_if! {
if #[cfg(feature="generate_docs")] {
println!(error_msg);
println!("{}", error_msg);
return;
} else {
panic!(error_msg);
panic!("{}", error_msg);
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion rclrs/src/rcl_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ cfg_if::cfg_if! {
// Added to avoid clippy complaining about u128 types not being FFI safe
// Caused by https://github.com/ros2/ros2/issues/1374 in iron and newer
// See https://github.com/ros2-rust/ros2_rust/issues/320
#[allow(improper_ctypes)]
#![allow(improper_ctypes)]
#[allow(improper_ctypes_definitions)]
#[allow(clippy::all)]
#[allow(missing_docs)]
Expand Down

0 comments on commit 439b443

Please sign in to comment.