chiark / gitweb /
xdata: fix downcasting to actually work
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2021 16:02:35 +0000 (16:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2021 16:03:30 +0000 (16:03 +0000)
commit24e31045965054f1f5012d2638f1545907313944
tree19311372c87ba0ffb5a3a173be108adc0fd8cf5e
parent35dd812d749df8c061192520e4129b198efd6baf
xdata: fix downcasting to actually work

Urgh, this involved a lot of flail before I found (i) downcast-rs
(ii) the conditional lifetime bug.

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