joestubbs / tagent

0 stars 1 forks source link

Using max width = 80 columns for Rust fmt? #10

Closed waltermoreira closed 2 years ago

waltermoreira commented 2 years ago

Using max width = 80 columns for Rust fmt?

⚠️ This may be very debatable ⚠️

⚠️ This PR should be merged after #9, since this branch is based in test_endpoint ⚠️

I find that using rust-analyzer in VSCode makes the lines very long, because it adds those (very useful) types to the arguments, lines, etc:

Screen Shot 2022-02-13 at 11 26 50 PM

How would you feel if we reduce the maximum width to 80 columns? The default is 100.

joestubbs commented 2 years ago

i like this as well!