Relax lifetimes further
This commit is contained in:
parent
e39fa92462
commit
0115197751
1 changed files with 5 additions and 5 deletions
|
@ -331,11 +331,11 @@ impl TextRenderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Renders all layouts that were previously provided to `prepare`.
|
/// Renders all layouts that were previously provided to `prepare`.
|
||||||
pub fn render<'s, 'pass>(
|
pub fn render(
|
||||||
&'s self,
|
&self,
|
||||||
atlas: &'s TextAtlas,
|
atlas: &TextAtlas,
|
||||||
viewport: &'s Viewport,
|
viewport: &Viewport,
|
||||||
pass: &mut RenderPass<'pass>,
|
pass: &mut RenderPass<'_>,
|
||||||
) -> Result<(), RenderError> {
|
) -> Result<(), RenderError> {
|
||||||
if self.glyph_vertices.is_empty() {
|
if self.glyph_vertices.is_empty() {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
|
|
Loading…
Reference in a new issue