File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ fn downlevel_default_limits_less_than_default_limits() {
6868
6969#[ derive( Default ) ]
7070pub struct Instance {
71- #[ allow( dead_code) ]
72- name : String ,
71+ _name : String ,
7372
7473 /// List of instances per `wgpu-hal` backend.
7574 ///
@@ -105,7 +104,7 @@ impl Instance {
105104 telemetry : Option < hal:: Telemetry > ,
106105 ) -> Self {
107106 let mut this = Self {
108- name : name. to_owned ( ) ,
107+ _name : name. to_owned ( ) ,
109108 instance_per_backend : Vec :: new ( ) ,
110109 requested_backends : instance_desc. backends ,
111110 supported_backends : Backends :: empty ( ) ,
@@ -186,7 +185,7 @@ impl Instance {
186185 hal_instance : <A as hal:: Api >:: Instance ,
187186 ) -> Self {
188187 Self {
189- name,
188+ _name : name,
190189 instance_per_backend : vec ! [ ( A :: VARIANT , Box :: new( hal_instance) ) ] ,
191190 requested_backends : A :: VARIANT . into ( ) ,
192191 supported_backends : A :: VARIANT . into ( ) ,
You can’t perform that action at this time.
0 commit comments