You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6ccee4f
Browse filesBrowse the repository at this point in the historyBrowse files
chore: remove dead code and clear all clippy warnings (#268)
Removed genuinely dead code:
- `InfoTable.connection` — populated but never read; dropped the field and its
two construction sites.
- `LoadManagedTableResponse.{connection_id, arrow_schema_json}` — deserialize-only
fields never read.
- `ConnectorEntry.file_format` — deserialize-only field never read.
- `raw_http::TOKEN_REDACT_KEYS` — a dead duplicate of `jwt`'s live copy, used
only by its own tautological test (removed both).
Tightened suppressions:
- Dropped two over-broad module-level `#![allow(dead_code)]` (raw_http, ingest)
now that the modules are clean.
- `IndexScope::delete_path` was `#[cfg_attr(not(test), allow(dead_code))]` — dead
in production but shipped in the binary. Gated with `#[cfg(test)]` so it stays
a path-shape regression guard without shipping.
Cleared every clippy warning (0 across all targets):
- Rewrote two `match … => false / _ => true` into `!matches!(…)` (skill).
- Collapsed a nested `if let` into a let-chain (test helper).
- Moved a mid-file `#[cfg(test)] mod tests` to the end (jobs).
- Documented `#[allow]`s for the unavoidable ones: `large_enum_variant` on the
two clap subcommand enums, `too_many_arguments` on an internal auth helper.
Verified: 0 compiler warnings and 0 clippy warnings across all targets, fmt
clean, tests pass, no unused dependencies. Net -23 lines.
Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>
0 commit comments