From 3fc5e41175bb3b32d27abda51f948bceb7899768 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 16 Mar 2021 21:58:47 +0000 Subject: [PATCH] UnpreparedUpdates: Rename variable (nfc) Signed-off-by: Ian Jackson --- daemon/cmdlistener.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/cmdlistener.rs b/daemon/cmdlistener.rs index d2daf79b..bb94579e 100644 --- a/daemon/cmdlistener.rs +++ b/daemon/cmdlistener.rs @@ -811,17 +811,17 @@ fn execute_for_game<'cs, 'igr, 'ig: 'igr>( }; let res = (||{ for insn in insns.drain(0..) { - let (updates, resp, for_prepub, ig) = + let (updates, resp, unprepared, ig) = execute_game_insn(cs, ag, igu, insn, &who, &mut to_permute)?; uh.accumulate(ig, updates)?; responses.push(resp); let auth_y = Authorisation::authorised(&*ig.name); auth = Some(auth_y); - if let Some(for_prepub) = for_prepub { + if let Some(unprepared) = unprepared { uh.complete(ig, &who)?; let mut prepub = PrepareUpdatesBuffer::new(ig, None, None); - for_prepub(&mut prepub); + unprepared(&mut prepub); prepub.finish(); uh = UpdateHandler::from_how(how); } -- 2.30.2