diff --git a/wgpu-core/src/track/texture.rs b/wgpu-core/src/track/texture.rs index bc0eb2875e..635a7cecaf 100644 --- a/wgpu-core/src/track/texture.rs +++ b/wgpu-core/src/track/texture.rs @@ -814,7 +814,7 @@ enum TextureStateProvider<'a> { TextureSet { set: &'a TextureStateSet }, } impl<'a> TextureStateProvider<'a> { - /// Convenience function turning Option into this enum. + /// Convenience function turning `Option` into this enum. fn from_option(selector: Option, state: TextureUses) -> Self { match selector { Some(selector) => Self::Selector { selector, state },