Skip to content

Commit bce5792

Browse files
fix comment
Co-authored-by: Alice Cecile <[email protected]>
1 parent 56e0608 commit bce5792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/src/render_phase/draw_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<'a> TrackedRenderPass<'a> {
172172
/// Subsequent calls to [`draw`] and [`draw_indexed`] on this
173173
/// [`RenderPass`] will use `buffer` as one of the source vertex buffers.
174174
///
175-
/// The `slot` refers to the index of the matching descriptor in
175+
/// The `slot_index` refers to the index of the matching descriptor in
176176
/// [`VertexState::buffers`](crate::render_resource::VertexState::buffers).
177177
///
178178
/// [`draw`]: TrackedRenderPass::draw

0 commit comments

Comments
 (0)