Update rustdoc test and remove TODO comment
This commit is contained in:
parent
81172d8f39
commit
9a017da459
2 changed files with 1 additions and 2 deletions
|
@ -3151,7 +3151,6 @@ fn render_attributes(w: &mut Buffer, it: &clean::Item, top: bool) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: this currently renders too many spaces as in: `#[repr(C, align (8))]`.
|
|
||||||
attrs.push_str(&pprust::attribute_to_string(&attr));
|
attrs.push_str(&pprust::attribute_to_string(&attr));
|
||||||
}
|
}
|
||||||
if !attrs.is_empty() {
|
if !attrs.is_empty() {
|
||||||
|
|
|
@ -16,6 +16,6 @@ pub enum Foo {
|
||||||
Bar,
|
Bar,
|
||||||
}
|
}
|
||||||
|
|
||||||
// @has foo/struct.Repr.html '//*[@class="docblock attributes top-attr"]' '#[repr(C, align (8))]'
|
// @has foo/struct.Repr.html '//*[@class="docblock attributes top-attr"]' '#[repr(C, align(8))]'
|
||||||
#[repr(C, align(8))]
|
#[repr(C, align(8))]
|
||||||
pub struct Repr;
|
pub struct Repr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue