Auto merge of #34108 - jseyfried:refactor_prelude_injection, r=nrc
Refactor away the prelude injection fold Instead, just inject `#[prelude_import] use [core|std]::prelude::v1::*;` at the crate root while injecting `extern crate [core|std];` and process `#[no_implicit_prelude]` attributes in `resolve`. r? @nrc
This commit is contained in:
@@ -1820,7 +1820,10 @@ fn item_module(w: &mut fmt::Formatter, cx: &Context,
|
||||
}
|
||||
}
|
||||
|
||||
write!(w, "</table>")
|
||||
if curty.is_some() {
|
||||
write!(w, "</table>")?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn short_stability(item: &clean::Item, cx: &Context, show_reason: bool) -> Vec<String> {
|
||||
|
||||
Reference in New Issue
Block a user