mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-10 06:58:12 -05:00
[naga] Make Level::next() public.
It doesn’t make sense to have `Level` public but not `Level::next()`.
This commit is contained in:
committed by
Connor Fitzgerald
parent
47c72fa943
commit
b912232188
@@ -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