Auto merge of #91305 - camelid:rm-cond, r=GuillaumeGomez
rustdoc: Remove apparently unnecessary conditional in `doc_value` I need to remove this conditional for #91072, but while it seems unnecessary, we are not certain. So, the plan is to first remove the conditional and see if any regressions pop up before doing the refactor. This way, it will be easier to revert if there are subtle regressions. r? `@jyn514`
This commit is contained in:
commit
02822334e9
@ -1082,9 +1082,6 @@ impl Attributes {
|
||||
let mut out = String::new();
|
||||
add_doc_fragment(&mut out, ori);
|
||||
for new_frag in iter {
|
||||
if new_frag.kind != ori.kind || new_frag.parent_module != ori.parent_module {
|
||||
break;
|
||||
}
|
||||
add_doc_fragment(&mut out, new_frag);
|
||||
}
|
||||
out.pop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user