You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I'm a Rust noob, so this might not be a great idea.)
I found myself following this pattern in my learning project:
use std::io;use std::io::BufRead;use std::io::Read;
when it could have been written much more concisely as:
use std::io::{self,BufRead,Read};
It seems like if you have a bunch of use declarations in sequence, rustfmt could use some heuristics and condense them. I searched through the issue tracker and couldn't find anything like this.
The text was updated successfully, but these errors were encountered:
(I'm a Rust noob, so this might not be a great idea.)
I found myself following this pattern in my learning project:
when it could have been written much more concisely as:
It seems like if you have a bunch of
use
declarations in sequence, rustfmt could use some heuristics and condense them. I searched through the issue tracker and couldn't find anything like this.The text was updated successfully, but these errors were encountered: