]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/whitespace-after-where-clause.trait.html
rustdoc: use a newline instead of `<br>` to format code headers
[rust.git] / tests / rustdoc / whitespace-after-where-clause.trait.html
1 <pre class="rust item-decl"><code>pub trait ToOwned&lt;T&gt;<span class="where fmt-newline">where
2     T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span>{
3     type <a href="#associatedtype.Owned" class="associatedtype">Owned</a>;
4
5     // Required methods
6     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>;
7 <span class="item-spacer" />    fn <a href="#tymethod.whatever" class="fn">whatever</a>(&amp;self) -&gt; T;
8 }</code></pre>