We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rustfmt 1.8.0-stable 2025-03-15 4eb161250e does not reformat the following input, violating the default max_width of 100 characters:
max_width
mod tests { // 100 characters is ··································································· here: | fn a_very_long_function_name_such_as_sometimes_found_in_descriptive_test_fn() -> CustomResultType { todo!() } }
playground
The text was updated successfully, but these errors were encountered:
There's some type of Shape issue here. If you add one more character to the function name or to the return type, then it wraps:
Shape
mod tests { // 100 characters is ··································································· here: | fn a_very_long_function_name_such_as_sometimes_found_in_descriptive_test_fnn() -> CustomResultType { todo!() } // 100 characters is ··································································· here: | fn a_very_long_function_name_such_as_sometimes_found_in_descriptive_test_fn() -> CustomResultTypee { todo!() } }
mod tests { // 100 characters is ··································································· here: | fn a_very_long_function_name_such_as_sometimes_found_in_descriptive_test_fnn( ) -> CustomResultType { todo!() } // 100 characters is ··································································· here: | fn a_very_long_function_name_such_as_sometimes_found_in_descriptive_test_fn( ) -> CustomResultTypee { todo!() } }
Sorry, something went wrong.
No branches or pull requests
rustfmt 1.8.0-stable 2025-03-15 4eb161250e does not reformat the following input, violating the default
max_width
of 100 characters:playground
The text was updated successfully, but these errors were encountered: