mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
71a147df1f
rustdoc: fix item-spacer rustdoc: use proper comment style rustdoc: change formatting where clauses for traits rustdoc: remove semicolon from provided methods update provided methods formatting
7 lines
601 B
HTML
7 lines
601 B
HTML
<pre class="rust item-decl"><code>pub trait ToOwned2<T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> {
|
|
type <a href="#associatedtype.Owned" class="associatedtype">Owned</a>;
|
|
|
|
// Required methods
|
|
fn <a href="#tymethod.to_owned" class="fn">to_owned</a>(&self) -> Self::<a class="associatedtype" href="trait.ToOwned2.html#associatedtype.Owned" title="type foo::ToOwned2::Owned">Owned</a>;
|
|
<span class="item-spacer" /> fn <a href="#tymethod.whatever" class="fn">whatever</a>(&self) -> T;
|
|
}</code></pre> |