rustdoc: div.where
instead of fmt-newline class
This is about equally readable, a lot more terse, and stops special-casing functions and methods. ```console $ du -hs doc-old/ doc-new/ 671M doc-old/ 670M doc-new/ ```
This commit is contained in:
parent
c910a49b05
commit
7230f6c5c5
19 changed files with 41 additions and 49 deletions
|
@ -1,5 +1,5 @@
|
|||
<pre class="rust item-decl"><code>pub trait ToOwned<T><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>{
|
||||
<pre class="rust item-decl"><code>pub trait ToOwned<T><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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue