Relax lifetimes further

This commit is contained in:
x10A94 2024-09-30 21:55:17 +03:00 committed by Josh Groves
parent e39fa92462
commit 0115197751

View file

@ -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(());