mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 00:02:23 +00:00
`cargo clippy --workspace --all-targets` printed twelve warnings; eleven
were style, and the twelfth was the one that matters — a build that
always warns is a build whose warnings nobody reads, so the next real
one arrives invisible.
`RemoteTerminal::{list_known_hosts, delete_known_host}` are the twelfth.
Their doc already argues they should stay — the daemon half is finished
and only the screen is missing — so the `allow` says the same thing to
the compiler instead of leaving the argument only in prose.
The rest are clippy's own suggestions, taken as offered, except two the
autofix could not make:
- `windows.rs` builds its test `Config` through struct-update now, which
has to name the inner `CoreConfig`: `Config` is a newtype, and
struct-update syntax does not travel through `Deref`.
- the input-bar position test iterates the slice instead of indexing it.