diff --git a/crates/bevy_render/src/render_resource/pipeline.rs b/crates/bevy_render/src/render_resource/pipeline.rs index adeab97652..d3bd820053 100644 --- a/crates/bevy_render/src/render_resource/pipeline.rs +++ b/crates/bevy_render/src/render_resource/pipeline.rs @@ -110,8 +110,8 @@ pub struct VertexState { /// The compiled shader module for this stage. pub shader: Handle, pub shader_defs: Vec, - /// The name of the entry point in the compiled shader. There must be a function that returns - /// void with this name in the shader. + /// The name of the entry point in the compiled shader. There must be a + /// function with this name in the shader. pub entry_point: Cow<'static, str>, /// The format of any vertex buffers used with this pipeline. pub buffers: Vec, @@ -134,8 +134,8 @@ pub struct FragmentState { /// The compiled shader module for this stage. pub shader: Handle, pub shader_defs: Vec, - /// The name of the entry point in the compiled shader. There must be a function that returns - /// void with this name in the shader. + /// The name of the entry point in the compiled shader. There must be a + /// function with this name in the shader. pub entry_point: Cow<'static, str>, /// The color state of the render targets. pub targets: Vec,