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