Skip to content

Commit

Permalink
Relax lifetimes further
Browse files Browse the repository at this point in the history
  • Loading branch information
Selicre authored and grovesNL committed Oct 1, 2024
1 parent e39fa92 commit 0115197
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/text_render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ impl TextRenderer {
}

/// Renders all layouts that were previously provided to `prepare`.
pub fn render<'s, 'pass>(
&'s self,
atlas: &'s TextAtlas,
viewport: &'s Viewport,
pass: &mut RenderPass<'pass>,
pub fn render(
&self,
atlas: &TextAtlas,
viewport: &Viewport,
pass: &mut RenderPass<'_>,
) -> Result<(), RenderError> {
if self.glyph_vertices.is_empty() {
return Ok(());
Expand Down

0 comments on commit 0115197

Please sign in to comment.