chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c584c
)
updates: Remove an obsolete todo
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Mar 2021 00:20:14 +0000
(
00:20
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Mar 2021 00:20:14 +0000
(
00:20
+0000)
We don't need a function for mapping pos. This is done via
PieceRenderInstructions etc.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/updates.rs
patch
|
blob
|
history
diff --git
a/src/updates.rs
b/src/updates.rs
index 95f98057551830615db976b357b66f3bb04e27aa..bc14b6ea15dc70028197072b3a257e0771326d76 100644
(file)
--- a/
src/updates.rs
+++ b/
src/updates.rs
@@
-462,7
+462,6
@@
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::*;