From f2f9ed1b3f9c49b323ce591eb72a406058d324a4 Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Sun, 30 Aug 2026 20:41:00 +0200 Subject: Indent doc list continuations --- crates/wayland/src/native_lock.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'crates/wayland/src/native_lock.rs') diff --git a/crates/wayland/src/native_lock.rs b/crates/wayland/src/native_lock.rs index 7ec3e9e..b5ff7c3 100644 --- a/crates/wayland/src/native_lock.rs +++ b/crates/wayland/src/native_lock.rs @@ -512,16 +512,16 @@ pub(crate) struct NativeLockFrame<'a> { /// password box's drop shadow, the box itself, and the on-screen keyboard /// - header/box/keyboard stacked and centered together via `lock_stack_ /// layout`, the same layout `CompState::native_lock_click` hit-tests -/// against. Mirrors `lock::lock_render_elements`'s shape/signature so both -/// backends can call whichever mode applies with the same pattern. -/// Takes every buffer by reference rather than `&mut CompState`, same -/// reasoning `lock::lock_render_elements`'s own doc comment gives for -/// taking a bare surface instead: both backends' render loops call this -/// while already holding a field-specific `&mut` borrow (`self.udev`/the -/// winit backend's own renderer), not a whole-`self` one, so a caller has -/// to extract every field of `NativeLockFrame` *before* that borrow -/// starts (cheap `MemoryRenderBuffer` clones, not a deep pixel copy) and -/// pass the clones in. +/// against. Mirrors `lock::lock_render_elements`'s shape/signature so both +/// backends can call whichever mode applies with the same pattern. +/// Takes every buffer by reference rather than `&mut CompState`, same +/// reasoning `lock::lock_render_elements`'s own doc comment gives for +/// taking a bare surface instead: both backends' render loops call this +/// while already holding a field-specific `&mut` borrow (`self.udev`/the +/// winit backend's own renderer), not a whole-`self` one, so a caller has +/// to extract every field of `NativeLockFrame` *before* that borrow +/// starts (cheap `MemoryRenderBuffer` clones, not a deep pixel copy) and +/// pass the clones in. pub(crate) fn native_lock_render_elements(frame: NativeLockFrame<'_>, output_size: (i32, i32), renderer: &mut R) -> Vec> where R: Renderer + ImportAll + ImportMem, -- cgit v1.2.3