mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 17:19:11 +01:00
[naga] Make Level::next() public.
It doesn’t make sense to have `Level` public but not `Level::next()`.
This commit is contained in:
1 parent
47c72fa943
commit
b912232188
1 file changed
+1
-1
@@ -70,7 +70,7 @@ pub type PipelineConstants = hashbrown::HashMap<String, f64>;
|
||||
pub struct Level(pub usize);
|
||||
|
||||
impl Level {
|
||||
const fn next(&self) -> Self {
|
||||
pub const fn next(&self) -> Self {
|
||||
Level(self.0 + 1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user