mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
8307fd7901
Since these elements now use `white-space: pre-wrap` since
784665d4ce
, it's fine to use newlines
for formatting, which is smaller and a bit less complicated.
5 lines
628 B
HTML
5 lines
628 B
HTML
<pre class="rust item-decl"><code>pub enum Cow<'a, B><span class="where fmt-newline">where
|
|
B: <a class="trait" href="trait.ToOwned.html" title="trait foo::ToOwned">ToOwned</a><dyn <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> + ?<a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + 'a,</span>{
|
|
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> |