chiark / gitweb /
hidden: a todo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Mar 2021 01:17:54 +0000 (01:17 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Mar 2021 01:21:13 +0000 (01:21 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/updates.rs

index ca7f9eceaf762d5eee81f7fb1a9e4bae1377dd80..511c95016d7329b5210f4f866bc6df53d645fbaf 100644 (file)
@@ -369,6 +369,7 @@ impl<NS,ZC> PieceUpdateOp<NS,ZC> {
   pub fn try_map<NS2, ZC2, E:Error,
                  F: FnOnce(NS) -> Result<NS2,E>,
                  G: FnOnce(ZC) -> Result<ZC2,E>
+                 // xxx should be a function for mapping pos
                  > (self, f:F, g:G) -> Result<PieceUpdateOp<NS2,ZC2>,E>
   {
     use PieceUpdateOp::*;