diag(core): parenthesize "s" in TooMany{MipLevels,ArrayLayers} msg.

This commit is contained in:
Erich Gubler authored and Connor Fitzgerald committed 2026-03-25 13:06:23 -04:00
1 parent 99ffaea4cd
commit f08572729c
1 file changed
+2 -2
+2 -2
View File
@@ -1839,7 +1839,7 @@ pub enum CreateTextureViewError {
ZeroArrayLayerCount,
#[error(
"`TextureView` starts at mip level {base_mip_level} and spans {mip_level_count} mip \
levels, but the texture view only has {total} total mip levels"
levels, but the texture view only has {total} total mip level(s)"
)]
TooManyMipLevels {
base_mip_level: u32,
@@ -1848,7 +1848,7 @@ pub enum CreateTextureViewError {
},
#[error(
"`TextureView` starts at array layer {base_array_layer} and spans {array_layer_count}) \
array layers, but the texture view only has {total} total layers"
array layers, but the texture view only has {total} total layer(s)"
)]
TooManyArrayLayers {
base_array_layer: u32,