Skip to content

Commit 335a78f

Browse files
committed
Fix clippy
Signed-off-by: Michael X. Grey <[email protected]>
1 parent 8f69e05 commit 335a78f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

rclrs/src/context.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ impl Context {
8282
/// Creates a new context.
8383
///
8484
/// * `args` - A sequence of strings that resembles command line arguments
85-
/// that users can pass into a ROS executable. See [the official tutorial][1]
86-
/// to know what these arguments may look like. To simply pass in the arguments
87-
/// that the user has provided from the command line, call [`Self::from_env`]
88-
/// or [`Self::default_from_env`] instead.
85+
/// that users can pass into a ROS executable. See [the official tutorial][1]
86+
/// to know what these arguments may look like. To simply pass in the arguments
87+
/// that the user has provided from the command line, call [`Self::from_env`]
88+
/// or [`Self::default_from_env`] instead.
8989
///
9090
/// * `options` - Additional options that your application can use to override
91-
/// settings that would otherwise be determined by the environment.
91+
/// settings that would otherwise be determined by the environment.
9292
///
9393
/// Creating a context will fail if `args` contains invalid ROS arguments.
9494
///

rclrs/src/node/node_options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ impl NodeOptions {
292292

293293
let handle = Arc::new(NodeHandle {
294294
rcl_node: Mutex::new(rcl_node),
295-
context_handle: Arc::clone(&context),
295+
context_handle: Arc::clone(context),
296296
});
297297
let parameter = {
298298
let rcl_node = handle.rcl_node.lock().unwrap();

0 commit comments

Comments
 (0)