diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-16 11:29:03 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-16 11:29:03 +0000 |
commit | 13f464edbdb5d9c0c54a84318c1fb81f613f3444 (patch) | |
tree | 02cd4dae393b0f3818a005ecd813e08e770bc3af /crates/tools | |
parent | c06f5d497979535f6e4b3ff1ca44972415e7ebed (diff) | |
parent | e8f3c1650a489bcbfdebe9cdf21f96c0ed84bdea (diff) |
Merge #836
836: auto_import: fix bug when the common path was shorter than both the c… r=matklad a=eulerdisk
Fix bug when the common path was shorter than both the current use and target path.
Wrong 1 (unnecessary self)
```
use std::fmt::nested::Debug;
std::fmt::Display<|>
```
--->
```
use std::fmt::{ self, Display, nested::Debug};
Display<|>
```
Wrong 2 (unnecessary, Debug disappear!!)
```
use std::fmt::Debug;
std::fmt::nested::Display
```
-->
```
use std::fmt::Debug::{ self, nested::Display, };
Display<|>
```
Co-authored-by: Andrea Pretto <[email protected]>
Diffstat (limited to 'crates/tools')
0 files changed, 0 insertions, 0 deletions