mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-16 01:38:09 +00:00
rustfmt
This commit is contained in:
parent
c1cf5a2cde
commit
c46178c518
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ pub fn span_lint_and_sugg<'a, 'tcx: 'a, T: LintContext<'tcx>>(
|
||||||
sp: Span,
|
sp: Span,
|
||||||
msg: &str,
|
msg: &str,
|
||||||
help: &str,
|
help: &str,
|
||||||
sugg: String,
|
sugg: String
|
||||||
) {
|
) {
|
||||||
span_lint_and_then(cx, lint, sp, msg, |db| { db.span_suggestion(sp, help, sugg); });
|
span_lint_and_then(cx, lint, sp, msg, |db| { db.span_suggestion(sp, help, sugg); });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue