Skip to content

Stabilize int_format_into feature#152544

Open
GuillaumeGomez wants to merge 1 commit intorust-lang:mainfrom
GuillaumeGomez:stabilize-int_format_into
Open

Stabilize int_format_into feature#152544
GuillaumeGomez wants to merge 1 commit intorust-lang:mainfrom
GuillaumeGomez:stabilize-int_format_into

Conversation

@GuillaumeGomez
Copy link
Copy Markdown
Member

Fixes #138215.

r? @Amanieu

@GuillaumeGomez GuillaumeGomez added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Feb 12, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Feb 12, 2026

Some changes occurred in integer formatting

cc @tgross35

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 12, 2026
@GuillaumeGomez GuillaumeGomez added needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 12, 2026
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from 84973ef to 03a0f20 Compare February 12, 2026 16:12
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from 03a0f20 to 897eb89 Compare February 12, 2026 16:24
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from 897eb89 to 2ec6387 Compare February 12, 2026 16:37
@rust-log-analyzer

This comment has been minimized.

Comment thread library/core/src/fmt/num_buffer.rs
Comment thread library/core/src/fmt/num_buffer.rs Outdated
@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from 2ec6387 to 74ce864 Compare March 28, 2026 12:09
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 28, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from 74ce864 to 28edb57 Compare March 28, 2026 12:10
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from 28edb57 to f93c2e2 Compare March 28, 2026 13:13
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from f93c2e2 to ec80536 Compare March 28, 2026 18:04
/// Returns the length of the internal buffer.
#[unstable(feature = "int_format_into", issue = "138215")]
pub const fn capacity(&self) -> usize {
pub(crate) const fn capacity(&self) -> usize {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the size of NumBuffer is always the same, we are forced to use this method until we can actually use the NumBufferTrat::BUF_SIZE when declaring NumBuffer.

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez GuillaumeGomez force-pushed the stabilize-int_format_into branch from ec80536 to 789f4f2 Compare March 28, 2026 19:43
@GuillaumeGomez
Copy link
Copy Markdown
Member Author

Finally fixed CI. ^^'

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 3, 2026

☔ The latest upstream changes (presumably #156111) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking Issue for integer formatting into a fixed-size buffer

4 participants