File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ prune = []
17
17
allow_deprecated = []
18
18
19
19
[dependencies ]
20
- naga = { version = " 22.1 " , features = [" wgsl-in" , " wgsl-out" ] }
20
+ naga = { version = " 23 " , features = [" wgsl-in" , " wgsl-out" ] }
21
21
tracing = " 0.1"
22
22
regex = " 1.8"
23
23
regex-syntax = " 0.8"
@@ -31,6 +31,6 @@ once_cell = "1.17.0"
31
31
indexmap = " 2"
32
32
33
33
[dev-dependencies ]
34
- wgpu = { version = " 22 " , features = [" naga-ir" ] }
34
+ wgpu = { version = " 23 " , features = [" naga-ir" ] }
35
35
futures-lite = " 1"
36
36
tracing-subscriber = { version = " 0.3" , features = [" std" , " fmt" ] }
Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ impl<'a> Iterator for CommentReplaceIter<'a> {
106
106
107
107
pub trait CommentReplaceExt < ' a > {
108
108
/// replace WGSL and GLSL comments with whitespace characters
109
- fn replace_comments ( & ' a mut self ) -> CommentReplaceIter ;
109
+ fn replace_comments ( & ' a mut self ) -> CommentReplaceIter < ' a > ;
110
110
}
111
111
112
112
impl < ' a > CommentReplaceExt < ' a > for Lines < ' a > {
113
- fn replace_comments ( & ' a mut self ) -> CommentReplaceIter {
113
+ fn replace_comments ( & ' a mut self ) -> CommentReplaceIter < ' a > {
114
114
CommentReplaceIter {
115
115
lines : self ,
116
116
state : CommentState :: None ,
Original file line number Diff line number Diff line change @@ -1337,7 +1337,7 @@ mod test {
1337
1337
} ) ,
1338
1338
) ,
1339
1339
module : & shader_module,
1340
- entry_point : "run_test" ,
1340
+ entry_point : Some ( "run_test" ) ,
1341
1341
compilation_options : Default :: default ( ) ,
1342
1342
cache : None ,
1343
1343
} ) ;
You can’t perform that action at this time.
0 commit comments