Skip to content

Conversation

coolreader18
Copy link
Contributor

@coolreader18 coolreader18 commented Aug 27, 2025

(I'm not 100%, but I'm pretty sure I've seen precedent for splitting a feature and stabilizing it in one PR, but if I'm wrong on that let me know and I can make a separate tracking issue and stuff.)

I propose to stabilize a subset of #117729; specifically, fmt::from_fn, since it seems to have the least controversy and most utility. This API is already seeing heavy use in librustdoc, and the implementation is the obvious one way to go about it. There was some discussion in the issue of whether fmt::FromFn should implement fmt::{UpperHex, LowerHex, etc}, and that point seemed to be resolved, but if desired in the future those could be added as a non-breaking change.

@rustbot
Copy link
Collaborator

rustbot commented Aug 27, 2025

r? @thomcc

rustbot has assigned @thomcc.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Aug 27, 2025
@Kobzol
Copy link
Member

Kobzol commented Aug 27, 2025

r? libs-api

@rustbot rustbot added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Aug 27, 2025
@rustbot rustbot assigned m-ou-se and unassigned thomcc Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants