chiark / gitweb /
hand: Remove a wrong todo comment
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Mar 2021 22:31:31 +0000 (22:31 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Mar 2021 22:31:31 +0000 (22:31 +0000)
We don't need PUU::RecalculateOccultations.  This is done by create_
and remove_occultation.  This is just as well as a PUO would be
horrible.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hand.rs

index 94d7470d0481009106682680c1b2eecec06f8a71..af6d663ab0ed2e88a1e37f62f416a6df26637fd5 100644 (file)
@@ -238,8 +238,7 @@ impl PieceTrait for Hand {
 
     (PieceUpdate {
       wrc, log,
-      ops: PUOs::Simple(PUO::Modify(())), // xxx
-      // xxx want PUU::RecalculateOccultations
+      ops: PUOs::Simple(PUO::Modify(())),
     }, xupdates, None)
   }
 }