Contract stubs: pn.C10 and pn.C16 markers name their writer set panels-w2

This commit is contained in:
aiongg
2026-11-14 03:36:11 +00:00
parent e9e3a961f4
commit 2c8a2affd8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -284,7 +284,7 @@ pub struct AppShell<'a, S> {
/// The window's title: the shell sends `WindowAction::SetTitle` when it differs from the title the viewport
/// reports. Not in an embedded shell.
#[prop(into)]
#[allow(dead_code)] // P3(panels-w10): pn.C10
#[allow(dead_code)] // P3(panels-w2): pn.C10
window_title: Option<String>,
/// The name of the body region; the translated "Document" without it.
#[prop(into)]
@@ -423,7 +423,7 @@ impl<'a, S> AppShell<'a, S> {
allow_reveal,
edge_reveal,
document_tabs,
window_title: _, // P3(panels-w10): pn.C10
window_title: _, // P3(panels-w2): pn.C10
body_label,
title,
slots,
@@ -9,7 +9,7 @@ use egui::{Response, Ui};
#[must_use = "show the button with `show`"]
#[derive(crate::contract::Pattern)]
pub struct ScreenModeButton {
#[allow(dead_code)] // P3(panels-w10): pn.C16
#[allow(dead_code)] // P3(panels-w2): pn.C16
mode: ScreenMode,
}