From: Ian Jackson Date: Mon, 19 Jul 2021 01:41:51 +0000 (+0100) Subject: jst-lower: Fix comments for new z level regiem X-Git-Tag: otter-0.7.2~28 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5a790f0f04ef9152841ee85f90e1cfc4832fd42a;p=otter.git jst-lower: Fix comments for new z level regiem Signed-off-by: Ian Jackson --- diff --git a/jstest/jst-lower.rs b/jstest/jst-lower.rs index a15c9b9d..84a317a7 100644 --- a/jstest/jst-lower.rs +++ b/jstest/jst-lower.rs @@ -235,7 +235,7 @@ impl Test { } } - // z coords (at least of heavy) in updates all decrease + // z levels (at least of heavy) in updates all decrease { for n in &new { if n.heavy && n.updated { @@ -272,7 +272,7 @@ impl Test { } } - // all the z coordinates are still distinct + // all the z levels are still distinct and ordered { for (n0,n1) in new.iter().tuple_windows() { assert!( n1.new_z > n0.new_z,