Satisfy dogfood
This commit is contained in:
parent
8c9bb89608
commit
9ce6fb34ca
1 changed files with 2 additions and 4 deletions
|
@ -150,11 +150,9 @@ pub fn check_attrs<'a>(cx: &EarlyContext, valid_idents: &[String], attrs: &'a [a
|
|||
spans.extend_from_slice(¤t_spans);
|
||||
doc.push_str(¤t);
|
||||
}
|
||||
} else {
|
||||
} else if attr.name() == "doc" {
|
||||
// ignore mix of sugared and non-sugared doc
|
||||
if attr.name() == "doc" {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue