improvise-wpxr: fmt, and the SetCell doc comment within the two-line cap

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze
This commit is contained in:
Edward Langley
2026-09-23 18:08:36 -07:00
parent d79a8bd5b0
commit ba3d2875c4
2 changed files with 5 additions and 3 deletions
+1 -2
View File
@@ -84,8 +84,7 @@ pub enum Command {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum ModelCommand {
// ── ModelChange::CellData ───────────────────────────────────────
/// Write one stored cell: a [`RecordCell`] and the view that drew it (ADR 002,
/// improvise-wpxr). The view resolves a record no cell of which is stored yet.
/// Write one cell: a [`RecordCell`] and the view that drew it (ADR 002, wpxr).
SetCell {
view: String,
cell: RecordCell,
+4 -1
View File
@@ -3446,7 +3446,10 @@ mod tests {
};
let client = on_other();
let written = |name: &str| composed(&client, ev(KeyCode::Char('x')), name, &[]);
assert_eq!(views(&written("clear-cell").expect("clear-cell")), ["Other"]);
assert_eq!(
views(&written("clear-cell").expect("clear-cell")),
["Other"]
);
assert_eq!(views(&written("paste").expect("paste")), ["Other"]);
let mut editing = on_other();