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:
259108d
)
hidden: some todos
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 12 Mar 2021 01:09:31 +0000
(
01:09
+0000)
committer
Ian 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>
daemon/api.rs
patch
|
blob
|
history
diff --git
a/daemon/api.rs
b/daemon/api.rs
index d311ca2024032510bc412de5ea84ec4cf9bed33e..bc965464faf99e37102e5afcab0188d8d9cb2150 100644
(file)
--- a/
daemon/api.rs
+++ b/
daemon/api.rs
@@
-365,6
+365,8
@@
api_route!{
}
impl op::Simple as {
+ // xxx move shows up as actual position even for occultees
+ // xxx add this to test cases
#[throws(ApiPieceOpError)]
fn op(&self, a: ApiPieceOpArgs) -> PieceUpdate {
let ApiPieceOpArgs { gs,piece, .. } = a;