mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-09-28 16:01:45 +00:00
The `pages` tree, `http/cloud_sync` and `models/workspace_tabs` were the last pseudo-module roots. Each moves to `X/mod.rs` so its children resolve by directory, and `pages/remote/docker` stops aliasing six sibling files (`docker_containers.rs` as `mod containers`, and so on) in favour of a normal `docker/` directory. `nyaterm-terminal-gpui` had one redundant `#[path = "tests.rs"]` that already pointed at the default location; it is dropped too. `#[path = "..."]` is now absent from both crates, so the twenty-two per-directory guards collapse into one crate-wide `check_no_matches`. Module paths always match the directory layout again, which is what makes `pub(in ...)` bounds mean something and what makes the next step, replacing the `use super::*` chain with explicit imports, worth doing.