base red: read_paths test drops qualifications in scope and a redundant clone (clippy, from #32177)

Merged
LA
4d ago
+4-4

What

Base red: Linux cmux-tui-rust-check.sh clippy (-D warnings) fails on every PR on crates/cmux-tui-core/src/mux/tests/read_paths.rs (test from #32177):

  • 201, 244, 249: unused_qualifications (crate::SplitDir, crate::workspace_registry::WorkspaceRegistry are in scope through use super::*).
  • 237: clippy::redundant_clone (panes.clone(); panes is not used after it).

Test-only change; no behavior change.

Tests

  • Linux clippy at e30549c8bec: green (it failed on the base with the 4 errors above, seen on #32164 at 983c764df80).
  • macOS scoped_pane_and_tab_lists_read_only_their_workspace: passed.

Observed / Not run

  • Observed: the two fleet runs above.
  • Not run: the other cmux-tui suites (only this test file changes).

Changelog

none


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes clippy warnings in the read_paths.rs test so cmux-tui-rust-check.sh clippy passes on every PR. Removes redundant qualifications and a clone; test-only, no behavior change.