Skip to content

Commit e3dfce3

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@4ea04a6 🚀
1 parent e20bf67 commit e3dfce3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/naga/arena/handlevec/struct.HandleVec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>Rather than a <code>push</code> method, <code>HandleVec</code> has an <a href="struct.HandleVec.html#method.insert" title="method naga::arena::handlevec::HandleVec::insert"><code>insert</code></a> method, analogous
88
to <a href="hashbrown::HashMap::insert"><code>HashMap::insert</code></a>, that requires you to provide the handle at which the
99
new value should appear. However, since <code>HandleVec</code> only supports insertion
10-
at the end, the given handle’s index must be equal to the the <code>HandleVec</code>’s
10+
at the end, the given handle’s index must be equal to the <code>HandleVec</code>’s
1111
current length; otherwise, the insertion will panic.</p>
1212
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.inner" class="structfield section-header"><a href="#structfield.inner" class="anchor field">§</a><code>inner: <a class="struct" href="https://doc.rust-lang.org/1.88.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;U&gt;</code></span><span id="structfield.as_keys" class="structfield section-header"><a href="#structfield.as_keys" class="anchor field">§</a><code>as_keys: <a class="struct" href="https://doc.rust-lang.org/1.88.0/core/marker/struct.PhantomData.html" title="struct core::marker::PhantomData">PhantomData</a>&lt;T&gt;</code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-HandleVec%3CT,+U%3E" class="impl"><a class="src rightside" href="../../../src/naga/arena/handlevec.rs.html#38-92">Source</a><a href="#impl-HandleVec%3CT,+U%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="struct" href="struct.HandleVec.html" title="struct naga::arena::handlevec::HandleVec">HandleVec</a>&lt;T, U&gt;</h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/naga/arena/handlevec.rs.html#39-44">Source</a><h4 class="code-header">pub(crate) const fn <a href="#method.new" class="fn">new</a>() -&gt; Self</h4></section><section id="method.with_capacity" class="method"><a class="src rightside" href="../../../src/naga/arena/handlevec.rs.html#46-51">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.with_capacity" class="fn">with_capacity</a>(capacity: <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.usize.html">usize</a>) -&gt; Self</h4></section><section id="method.len" class="method"><a class="src rightside" href="../../../src/naga/arena/handlevec.rs.html#53-55">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.len" class="fn">len</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.usize.html">usize</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.insert" class="method"><a class="src rightside" href="../../../src/naga/arena/handlevec.rs.html#65-68">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.insert" class="fn">insert</a>(&amp;mut self, handle: <a class="struct" href="../../struct.Handle.html" title="struct naga::Handle">Handle</a>&lt;T&gt;, value: U)</h4></section></summary><div class="docblock"><p>Insert a mapping from <code>handle</code> to <code>value</code>.</p>
1313
<p>Unlike a <a href="hashbrown::HashMap"><code>HashMap</code></a>, a <code>HandleVec</code> can only have new entries inserted at

doc/src/naga/arena/handlevec.rs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a href=#14 id=14 data-nosnippet>14</a>/// Rather than a `push` method, `HandleVec` has an [`insert`] method, analogous
1515
<a href=#15 id=15 data-nosnippet>15</a>/// to [`HashMap::insert`], that requires you to provide the handle at which the
1616
<a href=#16 id=16 data-nosnippet>16</a>/// new value should appear. However, since `HandleVec` only supports insertion
17-
<a href=#17 id=17 data-nosnippet>17</a>/// at the end, the given handle's index must be equal to the the `HandleVec`'s
17+
<a href=#17 id=17 data-nosnippet>17</a>/// at the end, the given handle's index must be equal to the `HandleVec`'s
1818
<a href=#18 id=18 data-nosnippet>18</a>/// current length; otherwise, the insertion will panic.
1919
<a href=#19 id=19 data-nosnippet>19</a>///
2020
<a href=#20 id=20 data-nosnippet>20</a>/// [`insert`]: HandleVec::insert

doc/src/naga/front/wgsl/index.rs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
<a href=#183 id=183 data-nosnippet>183</a> </span><span class="self">self</span>.temp_visited[id_usize] = <span class="bool-val">false</span>;
184184
<a href=#184 id=184 data-nosnippet>184</a>
185185
<a href=#185 id=185 data-nosnippet>185</a> <span class="comment">// Now everything this declaration uses has been visited, and is already
186-
<a href=#186 id=186 data-nosnippet>186</a> // present in `out`. That means we we can append this one to the
186+
<a href=#186 id=186 data-nosnippet>186</a> // present in `out`. That means we can append this one to the
187187
<a href=#187 id=187 data-nosnippet>187</a> // ordering, and mark it as visited.
188188
<a href=#188 id=188 data-nosnippet>188</a> </span><span class="self">self</span>.out.push(id);
189189
<a href=#189 id=189 data-nosnippet>189</a> <span class="self">self</span>.visited[id_usize] = <span class="bool-val">true</span>;

0 commit comments

Comments
 (0)