
Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans. Reduces element count on std::iter::Iterator by 30%.
10 lines
187 B
Rust
10 lines
187 B
Rust
#![crate_type="lib"]
|
|
|
|
pub struct Foo;
|
|
|
|
impl Foo {
|
|
// @has const/struct.Foo.html '//code[@id="new.v"]' 'const unsafe fn new'
|
|
pub const unsafe fn new() -> Foo {
|
|
Foo
|
|
}
|
|
}
|