diff options
| author | Hirochika Matsumoto <matsujika@gmail.com> | 2020-10-12 19:37:27 +0900 |
|---|---|---|
| committer | Hirochika Matsumoto <matsujika@gmail.com> | 2020-11-18 01:28:37 +0900 |
| commit | 8392bc7946a212a85bc5a411f5321a1f76d5ccf6 (patch) | |
| tree | e85deb310eb923ba4d63717b1ae778c7b78a6def | |
| parent | 1bdac8712868e1418dcb13e817254620a8c01158 (diff) | |
| download | rust-8392bc7946a212a85bc5a411f5321a1f76d5ccf6.tar.gz rust-8392bc7946a212a85bc5a411f5321a1f76d5ccf6.zip | |
Run `cargo dev fmt`
| -rw-r--r-- | clippy_lints/src/unnecessary_wrap.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clippy_lints/src/unnecessary_wrap.rs b/clippy_lints/src/unnecessary_wrap.rs index db51ee681ef..fc1a33fc6cd 100644 --- a/clippy_lints/src/unnecessary_wrap.rs +++ b/clippy_lints/src/unnecessary_wrap.rs @@ -100,7 +100,11 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryWrap { cx, UNNECESSARY_WRAP, span, - format!("this function's return value is unnecessarily wrapped by `{}`", return_type).as_str(), + format!( + "this function's return value is unnecessarily wrapped by `{}`", + return_type + ) + .as_str(), |diag| { let inner_ty = return_ty(cx, hir_id) .walk() |
