mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
7230f6c5c5
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/ ```
5 lines
574 B
HTML
5 lines
574 B
HTML
<pre class="rust item-decl"><code>pub enum Cow<'a, B><div class="where">where
|
|
B: <a class="trait" href="trait.ToOwned.html" title="trait foo::ToOwned">ToOwned</a><<a class="primitive" href="{{channel}}/std/primitive.unit.html">()</a>> + ?<a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + 'a,</div>{
|
|
Borrowed(<a class="primitive" href="{{channel}}/std/primitive.reference.html">&'a B</a>),
|
|
Whatever(<a class="primitive" href="{{channel}}/std/primitive.u32.html">u32</a>),
|
|
}</code></pre> |