-
Couldn't load subscription status.
- Fork 13.9k
Open
Labels
A-fmtArea: `core::fmt`Area: `core::fmt`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
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?
DPDmancul and schneiderfelipe
Metadata
Metadata
Assignees
Labels
A-fmtArea: `core::fmt`Area: `core::fmt`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.