anvil/render: Add note about cloned FpsElement
@@ -22,6 +22,10 @@ smithay::backend::renderer::element::render_elements! {
Pointer=PointerRenderElement<R>,
Surface=WaylandSurfaceRenderElement,
#[cfg(feature = "debug")]
+ // Note: We would like to borrow this element instead, but that would introduce
+ // a feature-dependent lifetime, which introduces a lot more feature bounds
+ // as the whole type changes and we can't have an unused lifetime (for when "debug" is disabled)
+ // in the declaration.
Fps=FpsElement<<R as Renderer>::TextureId>,
}
