Skip to content

build_limits: Default::default for defaults, rename new to from_config - #3511

Merged
syphar merged 1 commit into
rust-lang:mainfrom
syphar:new-limits-2
Sep 10, 2026
Merged

build_limits: Default::default for defaults, rename new to from_config#3511
syphar merged 1 commit into
rust-lang:mainfrom
syphar:new-limits-2

Conversation

@syphar

@syphar syphar commented Sep 9, 2026

Copy link
Copy Markdown
Member

starting to pull out things from #3480

  • use Default::default for the default values
  • rename ::new to ::from_config to make it more explicit

@syphar syphar self-assigned this Sep 9, 2026
@github-actions github-actions Bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Sep 9, 2026
@syphar
syphar marked this pull request as ready for review September 9, 2026 15:00
@syphar
syphar requested a review from a team as a code owner September 9, 2026 15:00
@syphar

syphar commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

r? @GuillaumeGomez

@rustbot rustbot assigned GuillaumeGomez and unassigned syphar Sep 9, 2026
@rust-lang rust-lang deleted a comment from rustbot Sep 9, 2026
Comment thread crates/lib/docs_rs_build_limits/src/limits.rs
@syphar
syphar merged commit 82af6e2 into rust-lang:main Sep 10, 2026
29 checks passed
@syphar
syphar deleted the new-limits-2 branch September 10, 2026 05:01
@github-actions github-actions Bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants