summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/whitespace-after-where-clause.trait.html
blob: 0e25ed86a7c86ae4d45256848300043e887def24 (plain)
1
2
3
4
5
6
7
8
<pre class="rust item-decl"><code>pub trait ToOwned&lt;T&gt;<div class="where">where
    T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div>{
    type <a href="#associatedtype.Owned" class="associatedtype">Owned</a>;

    // Required methods
    fn <a href="#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.ToOwned.html#associatedtype.Owned" title="type foo::ToOwned::Owned">Owned</a>;
<span class="item-spacer" />    fn <a href="#tymethod.whatever" class="fn">whatever</a>(&amp;self) -&gt; T;
}</code></pre>