diff options
| author | Lzu Tao <taolzu@gmail.com> | 2019-12-24 03:06:52 +0700 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2019-12-24 03:06:52 +0700 |
| commit | f5b896451ac44fc45bdc78656176f2846f44891a (patch) | |
| tree | 7ba38520adda76e57f2031f7a5793e19e809d941 /clippy_dev/src | |
| parent | 37b7970a7ce1b44f1cbd485af8d9e0362cf01bfe (diff) | |
| download | rust-f5b896451ac44fc45bdc78656176f2846f44891a.tar.gz rust-f5b896451ac44fc45bdc78656176f2846f44891a.zip | |
do minor cleanups
* ToString and AsRef are in prelude, no need to import them
Diffstat (limited to 'clippy_dev/src')
| -rw-r--r-- | clippy_dev/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs index f73e7b86720..3aae3e53317 100644 --- a/clippy_dev/src/lib.rs +++ b/clippy_dev/src/lib.rs @@ -50,7 +50,7 @@ impl Lint { name: name.to_lowercase(), group: group.to_string(), desc: NL_ESCAPE_RE.replace(&desc.replace("\\\"", "\""), "").to_string(), - deprecation: deprecation.map(std::string::ToString::to_string), + deprecation: deprecation.map(ToString::to_string), module: module.to_string(), } } |
