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
This issue was labelled with: A-pretty, A-resolve, I-wishlist in the Rust repository
13:58 < bstrie> is there a pretty-print mode to replace a glob import with a
precise list of names?
13:59 <@pcwalton> bstrie: no unfortunately
13:59 <@pcwalton> good idea though
So if I have a file with this:
use foo::*;
...and of all the things that foo provides, I only ever end up using bar and baz, then it should rewrite the import to:
use foo::{bar, baz};
The text was updated successfully, but these errors were encountered:
Monday Feb 04, 2013 at 19:05 GMT
For earlier discussion, see rust-lang/rust#4786
This issue was labelled with: A-pretty, A-resolve, I-wishlist in the Rust repository
So if I have a file with this:
...and of all the things that
foo
provides, I only ever end up usingbar
andbaz
, then it should rewrite the import to:The text was updated successfully, but these errors were encountered: