diff options
| author | tv <tv@krebsco.de> | 2026-10-26 21:56:20 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 21:56:20 +0100 |
| commit | 08f5df1f0a2e22876a5b49a4f9e2e05a61df882a (patch) | |
| tree | 113050df0bef5e8f3e9d188c69fc2a0c76d2eb17 /src/remake/switch.rs | |
| parent | ecdb3ee944f5c171faac3a71117e2ff27e064295 (diff) | |
make clippy happy again
Diffstat (limited to 'src/remake/switch.rs')
| -rw-r--r-- | src/remake/switch.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/remake/switch.rs b/src/remake/switch.rs index 903baea..ea56de6 100644 --- a/src/remake/switch.rs +++ b/src/remake/switch.rs @@ -232,10 +232,8 @@ async fn switch<H: Host>( let mut doc = snapshot.doc.with_actor(actor); // Keep this remake's record visible in the new epoch, for its history. - if carry_record { - if let Err(error) = store::copy_path(©, &mut doc, &record_path) { - warn!(error = %error, "Could not carry the remake record into the new epoch"); - } + if carry_record && let Err(error) = store::copy_path(©, &mut doc, &record_path) { + warn!(error = %error, "Could not carry the remake record into the new epoch"); } let heads = copy.get_heads(); |
