Return Row from every shape, now that the alias is gone
Wave 3's app half. `-> Cells` was the grammar's second spelling for one type
and `declare!` emitted it verbatim into the generated signature, so retiring
`pub type Cells = Row` moves these two shapes with it, along with two test
helpers that named the alias through a qualified path.
The qualified spelling is why the anchored sweep missed them: the pattern that
correctly skips `RowPart::` also skips `quasi_router::Cells`.
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
- Claude-Session
- https://claude.ai/code/session_01P8ostB2UmZJGj5WjSHRSot
3 files changed,
+4 insertions,
-4 deletions
| 588 |
588 |
|
/// The cell names [`DESTINATION`] rather than counting to it: the column
|
| 589 |
589 |
|
/// list is in [`moving`] and this is not, so position here would be an
|
| 590 |
590 |
|
/// agreement between two functions that nothing enforces.
|
| 591 |
|
- |
shape row(folder: &Destination) -> Cells;
|
|
591 |
+ |
shape row(folder: &Destination) -> Row;
|
| 592 |
592 |
|
|
| 593 |
593 |
|
cells {
|
| 594 |
594 |
|
cell at DESTINATION &folder.path;
|
| 855 |
855 |
|
|
| 856 |
856 |
|
declare! {
|
| 857 |
857 |
|
/// One sample as a row. See [`Listed`].
|
| 858 |
|
- |
shape row(sample: &Listed, shared: &Shared) -> Cells;
|
|
858 |
+ |
shape row(sample: &Listed, shared: &Shared) -> Row;
|
| 859 |
859 |
|
|
| 860 |
860 |
|
// Which menu a row offers is which subject the press is about.
|
| 861 |
861 |
|
let entries = given sample.menu {
|
| 560 |
560 |
|
/// Descends into a `Node::Region`, because a region is a slot inside a node and
|
| 561 |
561 |
|
/// `nodes` only walks the screen's own slots. The rename preview lives in one so
|
| 562 |
562 |
|
/// that a fragment can replace it.
|
| 563 |
|
- |
fn table_of(screen: &Screen) -> (Vec<quasi_router::Column>, Vec<quasi_router::Cells>) {
|
|
563 |
+ |
fn table_of(screen: &Screen) -> (Vec<quasi_router::Column>, Vec<quasi_router::Row>) {
|
| 564 |
564 |
|
fn find(
|
| 565 |
565 |
|
body: &[quasi_router::Ranked],
|
| 566 |
|
- |
) -> Option<(Vec<quasi_router::Column>, Vec<quasi_router::Cells>)> {
|
|
566 |
+ |
) -> Option<(Vec<quasi_router::Column>, Vec<quasi_router::Row>)> {
|
| 567 |
567 |
|
for placed in body {
|
| 568 |
568 |
|
match &placed.node {
|
| 569 |
569 |
|
Node::Table { columns, rows, .. } => {
|