Update inline_fn_without_body.rs
This commit is contained in:
parent
00b549ad40
commit
8c9bb89608
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
|
||||||
|
|
||||||
fn check_attrs(cx: &LateContext, name: &Name, attrs: &[Attribute]) {
|
fn check_attrs(cx: &LateContext, name: &Name, attrs: &[Attribute]) {
|
||||||
for attr in attrs {
|
for attr in attrs {
|
||||||
if attr.name() == "inline" {
|
if attr.name() != "inline" {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue