Skip to content

Commit 2126252

Browse files
committed
style: unwrap the guard-condition state field for pre-commit rustfmt
No behaviour change. The pinned rustfmt in the CI pre-commit gate keeps this field declaration on one line; the local `cargo fmt --all --check` does not.
1 parent 11d2745 commit 2126252

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/rmw-zenoh-rs/src/node.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ pub struct NodeImpl {
1818
/// (identity is `Arc::ptr_eq`). Holding it here also means the state
1919
/// survives `rmw_destroy_guard_condition` below, which is what makes it safe
2020
/// to free the C handle while a graph-change trigger may still be in flight.
21-
pub graph_guard_condition_state:
22-
Option<std::sync::Arc<dyn hiroz::event::GraphGuardCondition>>,
21+
pub graph_guard_condition_state: Option<std::sync::Arc<dyn hiroz::event::GraphGuardCondition>>,
2322
}
2423

2524
impl NodeImpl {

0 commit comments

Comments
 (0)