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