Skip to content

Fix large_futures example #11553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

mickvangelderen
Copy link
Contributor

The value used in the large_futures example was not large enough to trigger the lint given the default threshold. The example also contained more code than necessary. This PR changes the value size from 1kB to 16kB and reduces the example in size.

changelog: [large_futures]: Fix and simplify example

The value used in the large_futures example was not large enough to
trigger the lint given the default threshold.

The example also contained more code than necessary.

This PR changes the value size from 1kB to 16kB and reduces the example
in size.
@rustbot
Copy link
Collaborator

rustbot commented Sep 22, 2023

r? @Centri3

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 22, 2023
@mickvangelderen
Copy link
Contributor Author

r? @xFrednet maybe you can review this as you've reviewed the lint impl before.

@rustbot rustbot assigned xFrednet and unassigned Centri3 Sep 22, 2023
@xFrednet
Copy link
Member

Looks good to me, thank you for the update :)

@bors r+

@bors
Copy link
Contributor

bors commented Sep 22, 2023

📌 Commit 7e46fb9 has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 22, 2023

⌛ Testing commit 7e46fb9 with merge d732cce...

@bors
Copy link
Contributor

bors commented Sep 22, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing d732cce to master...

@bors bors merged commit d732cce into rust-lang:master Sep 22, 2023
@mickvangelderen mickvangelderen deleted the fix-large-futures-example branch September 23, 2023 11:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants