]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/where.SWhere_TraitWhere_item-decl.html
rustdoc: use a newline instead of `<br>` to format code headers
[rust.git] / tests / rustdoc / where.SWhere_TraitWhere_item-decl.html
1 <pre class="rust item-decl"><code>pub trait TraitWhere {
2     type <a href="#associatedtype.Item" class="associatedtype">Item</a>&lt;'a&gt;
3        <span class="where">where Self: 'a</span>;
4
5     // Provided methods
6     fn <a href="#method.func" class="fn">func</a>(self)
7        <span class="where">where Self: <a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
8 <span class="item-spacer" />    fn <a href="#method.lines" class="fn">lines</a>(self) -&gt; <a class="struct" href="{{channel}}/std/io/struct.Lines.html" title="struct std::io::Lines">Lines</a>&lt;Self&gt;
9        <span class="where">where Self: <a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
10 <span class="item-spacer" />    fn <a href="#method.merge" class="fn">merge</a>&lt;T&gt;(self, a: T)
11        <span class="where">where Self: <a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
12              T: <a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
13 }</code></pre>