Run cargo dev fmt
This commit is contained in:
parent
1bdac87128
commit
8392bc7946
@ -100,7 +100,11 @@ fn check_fn(
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user