Updating the riot-examples shell_threads code (that was still on wrapper -0.7), I found that Rust now often complains about the need for a type annotation. The new code was primarily tested with static commands, where this didn't show.
The example now works around it by feeding the builder through an impl trait typed identity function, but that's terrible. Best chance is probably just to hide the shell::Command type and use RPITIT for .and() now that we have it, maybe that solves things already.
Updating the riot-examples shell_threads code (that was still on wrapper -0.7), I found that Rust now often complains about the need for a type annotation. The new code was primarily tested with static commands, where this didn't show.
The example now works around it by feeding the builder through an
impl trait
typed identity function, but that's terrible. Best chance is probably just to hide the shell::Command type and use RPITIT for.and()
now that we have it, maybe that solves things already.