diff --git a/src/t079_codex_connected_tests.rs b/src/t079_codex_connected_tests.rs index 65069df4..8ee47338 100644 --- a/src/t079_codex_connected_tests.rs +++ b/src/t079_codex_connected_tests.rs @@ -257,10 +257,8 @@ impl BoundCodexHome { } fn assert_stable(&self) -> ProofResult<()> { - let self_event_mask = libc::IN_Q_OVERFLOW - | libc::IN_MOVE_SELF - | libc::IN_DELETE_SELF - | libc::IN_IGNORED; + let self_event_mask = + libc::IN_Q_OVERFLOW | libc::IN_MOVE_SELF | libc::IN_DELETE_SELF | libc::IN_IGNORED; let mut buffer = [0_u8; 4096]; loop { @@ -314,7 +312,10 @@ impl BoundCodexHome { } if name_len > 0 { let name = &buffer[offset + header..offset + record_len]; - let name = &name[..name.iter().position(|byte| *byte == 0).unwrap_or(name.len())]; + let name = &name[..name + .iter() + .position(|byte| *byte == 0) + .unwrap_or(name.len())]; if BLOCKED_CODEX_CONFIG_FILES .iter() .any(|blocked| name == blocked.as_bytes()) @@ -1077,7 +1078,8 @@ fn bind_preexisting_isolated_codex_home(path: &Path) -> ProofResult