Skip to content

Commit 440b501

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@54d30da 🚀
1 parent d221ff7 commit 440b501

11 files changed

+41
-41
lines changed

doc/src/wgpu/api/shader_module.rs.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,7 @@
247247
<a href="#246" id="246">246</a>
248248
<a href="#247" id="247">247</a>
249249
<a href="#248" id="248">248</a>
250-
<a href="#249" id="249">249</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{
251-
string::{String, ToString <span class="kw">as _</span>},
252-
vec,
253-
vec::Vec,
254-
};
250+
<a href="#249" id="249">249</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{string::String, vec::Vec};
255251
<span class="kw">use </span>core::{future::Future, marker::PhantomData};
256252

257253
<span class="kw">use crate</span>::<span class="kw-2">*</span>;
@@ -347,6 +343,7 @@
347343
<span class="kw">for </span>CompilationInfo
348344
{
349345
<span class="kw">fn </span>from(value: <span class="kw">crate</span>::naga::error::ShaderError&lt;<span class="kw">crate</span>::naga::front::wgsl::ParseError&gt;) -&gt; <span class="self">Self </span>{
346+
<span class="kw">use </span>alloc::{string::ToString, vec};
350347
CompilationInfo {
351348
messages: <span class="macro">vec!</span>[CompilationMessage {
352349
message: value.to_string(),
@@ -359,6 +356,7 @@
359356
<span class="attr">#[cfg(feature = <span class="string">"glsl"</span>)]
360357
</span><span class="kw">impl </span>From&lt;naga::error::ShaderError&lt;naga::front::glsl::ParseErrors&gt;&gt; <span class="kw">for </span>CompilationInfo {
361358
<span class="kw">fn </span>from(value: naga::error::ShaderError&lt;naga::front::glsl::ParseErrors&gt;) -&gt; <span class="self">Self </span>{
359+
<span class="kw">use </span>alloc::string::ToString;
362360
<span class="kw">let </span>messages = value
363361
.inner
364362
.errors
@@ -376,6 +374,7 @@
376374
<span class="attr">#[cfg(feature = <span class="string">"spirv"</span>)]
377375
</span><span class="kw">impl </span>From&lt;naga::error::ShaderError&lt;naga::front::spv::Error&gt;&gt; <span class="kw">for </span>CompilationInfo {
378376
<span class="kw">fn </span>from(value: naga::error::ShaderError&lt;naga::front::spv::Error&gt;) -&gt; <span class="self">Self </span>{
377+
<span class="kw">use </span>alloc::{string::ToString, vec};
379378
CompilationInfo {
380379
messages: <span class="macro">vec!</span>[CompilationMessage {
381380
message: value.to_string(),
@@ -397,6 +396,7 @@
397396
<span class="kw">crate</span>::naga::WithSpan&lt;<span class="kw">crate</span>::naga::valid::ValidationError&gt;,
398397
&gt;,
399398
) -&gt; <span class="self">Self </span>{
399+
<span class="kw">use </span>alloc::{string::ToString, vec};
400400
CompilationInfo {
401401
messages: <span class="macro">vec!</span>[CompilationMessage {
402402
message: value.to_string(),

doc/wgpu/api/shader_module/enum.CompilationMessageType.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

doc/wgpu/api/shader_module/struct.CompilationInfo.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

doc/wgpu/api/shader_module/struct.CompilationMessage.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

doc/wgpu/api/shader_module/struct.ShaderModule.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

doc/wgpu/api/shader_module/struct.SourceLocation.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

doc/wgpu/enum.CompilationMessageType.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

doc/wgpu/struct.CompilationInfo.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

doc/wgpu/struct.CompilationMessage.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

doc/wgpu/struct.ShaderModule.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)