]> git.lizzy.rs Git - rust.git/blobdiff - 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
index bc3653de52d165d53fb8bd3af0730ca4b70c1fd8..0928b48e6b64cf9b9b1d1e8f998e32532cde13ac 100644 (file)
@@ -1,6 +1,8 @@
-<pre class="rust item-decl"><code>pub trait ToOwned&lt;T&gt;<span class="where fmt-newline">where<br />&#160;&#160;&#160;&#160;T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span>{
+<pre class="rust item-decl"><code>pub trait ToOwned&lt;T&gt;<span class="where fmt-newline">where
+    T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span>{
     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>
\ No newline at end of file