mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
8307fd7901
Since these elements now use `white-space: pre-wrap` since
784665d4ce
, it's fine to use newlines
for formatting, which is smaller and a bit less complicated.
7 lines
158 B
Rust
7 lines
158 B
Rust
#![crate_name = "foo"]
|
|
|
|
pub trait Bar {}
|
|
|
|
// @has foo/struct.Foo.html '//pre' 'pub struct Foo<T>(pub T) where T: Bar;'
|
|
pub struct Foo<T>(pub T) where T: Bar;
|