Skip to content

Commit b912232

Browse files
kpreidcwfitzgerald
authored andcommitted
[naga] Make Level::next() public.
It doesn’t make sense to have `Level` public but not `Level::next()`.
1 parent 47c72fa commit b912232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

naga/src/back/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub type PipelineConstants = hashbrown::HashMap<String, f64>;
7070
pub struct Level(pub usize);
7171

7272
impl Level {
73-
const fn next(&self) -> Self {
73+
pub const fn next(&self) -> Self {
7474
Level(self.0 + 1)
7575
}
7676
}

0 commit comments

Comments
 (0)