chiark / gitweb /
Move fn load out of SimplePieceSpec into macro
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Apr 2022 17:23:27 +0000 (18:23 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Apr 2022 17:23:27 +0000 (18:23 +0100)
commite2cb1a30dae57cc149c244f89dbb8242d2b3f10c
treea3b22210b704c9b502bfcd789af9c9a07ec5e0e3
parent06aa076c06bd1aca099ffd37de0feb8fa8166f3b
Move fn load out of SimplePieceSpec into macro

The only call site was in impl_PieceSpec_for_SimplePieceSpec.
Hoisting it there makes little codegen difference but seems more
natural.

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