Fix typo in wgpu::Primitive docs

This commit is contained in:
Héctor Ramón Jiménez 2025-09-06 21:19:14 +02:00
parent 0d05ea56d3
commit 6fbde6720f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -44,9 +44,9 @@ pub trait Primitive: Debug + MaybeSend + MaybeSync + 'static {
/// Draws the [`Primitive`] in the given [`wgpu::RenderPass`].
///
/// When possible, this should be implement over [`render`](Self::render)
/// When possible, this should be implemented over [`render`](Self::render)
/// since reusing the existing render pass should be considerably more
/// efficient than issuing a completely new one.
/// efficient than issuing a new one.
///
/// If you have complex composition needs, then you can leverage
/// [`render`](Self::render) by returning `false` here.