-
Notifications
You must be signed in to change notification settings - Fork 897
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
Feature request: Customizable SHORT_ITEM_THRESHOLD
#5225
Comments
I was actually going to post on #5219 to ask you to open a separate issue, so thanks for doing this! I'm definitely open to supporting this with a config option, provided the default is kept the same and someone is willing to submit a PR. It should be a relatively easy one for anyone that's interested, some relevant code sections below:
|
@calebcartwright I'm new to Rust and would like to help out. Can you assign this to me? |
@123vivekr feel free to comment @rustbot claim to have the issue assigned to you! |
@rustbot claim |
Allow custom short item threshold values via config. Closes rust-lang#5225
This is a follow up issue to #5219. I found that I cannot format
to something like
due to the limit set by
SHORT_ITEM_THRESHOLD
. I tried changing this threshold to 20, and then I managed to get the array formatted as the latter style.Therefore I would like to request the ability to customize this limit, or at least override it for integer literals specifically. Thanks!
The text was updated successfully, but these errors were encountered: