From: Ian Jackson Date: Fri, 13 Nov 2020 23:45:33 +0000 (+0000) Subject: wip report token revelations nfc X-Git-Tag: otter-0.2.0~513 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4142b566353ba5a365da2459f2c02dbda9a2f32b;p=otter.git wip report token revelations nfc Signed-off-by: Ian Jackson --- diff --git a/src/session.rs b/src/session.rs index cfa151d2..294d338b 100644 --- a/src/session.rs +++ b/src/session.rs @@ -135,9 +135,10 @@ fn session(form : Json) -> Result { { let tr = &pr.ipl.tokens_revealed; let y = tr.len() > 1; - tr.iter() + let l = tr.iter() .filter(move |_| y) - // .sort + .collect::>(); + l.into_iter() .map(|(trk,trv)|{ let when = trv.latest; let html = Html(format!(