Open
Description
Advantages
Types which implement std::io::Write
get an implementation of core::fmt::Write
for free. core::fmt::Write
is useful if you only want to accept UTF-8 data.
Disadvantages
Could it hurt type inference? If so, is there some way of allowing impl core::fmt::Write for Foo {}
(i.e., empty impl body) if there is an impl for std::io::Write
?