[naga] Make Level::next() public.

It doesn’t make sense to have `Level` public but not `Level::next()`.
This commit is contained in:
Kevin Reid
2025-03-16 16:30:44 -07:00
committed by Connor Fitzgerald
parent 47c72fa943
commit b912232188

View File

@@ -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)
}
}