[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 authored and Connor Fitzgerald committed 2025-03-19 12:11:01 -04:00
1 parent 47c72fa943
commit b912232188
1 file changed
+1 -1
+1 -1
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)
}
}