Closed soenkehahn closed 3 years ago
The new example is simple and concrete, but the motivation isn't clear to me. The podman example had a gotcha, but it was clearer why it would be useful. But maybe the new example is fine, since it does demonstrate how to write custom Input
implementations.
Nice, LGTM
One open question: Currently the
configure
methods in theInput
impls are all#[doc(hidden)]
. Which makes some sense, since users are usually not going to call those. But since the method is unhidden in the trait now, maybe we should also unhide the impl methods?Update: I just tried to unhide
configure
in the impls and it causes the doc comments for the impls to be collapsed. So you have to click a little+
to see them (and the configure method). So I think that would be worse.