Skip to content

docs: tick CODE_QUALITY_TODO for src/cli/dispatch.rs (#102)#180

Open
quangdang46 wants to merge 1 commit into
masterfrom
refactor/cli-remove-standalone-flag
Open

docs: tick CODE_QUALITY_TODO for src/cli/dispatch.rs (#102)#180
quangdang46 wants to merge 1 commit into
masterfrom
refactor/cli-remove-standalone-flag

Conversation

@quangdang46
Copy link
Copy Markdown
Owner

What

The --standalone flag and its associated #[allow(deprecated)] /
unused_mut suppressions in src/cli/dispatch.rs were already removed
locally:

  • 568b0d80 extracted the CLI modules from main.rs.
  • eaf7bf00 "Remove standalone references" deleted the deprecated flag and its associated suppressions.

grep -RnE 'standalone|args\.standalone' src/cli/ and
grep -nE '#\[allow|#\[expect|deprecated|unused_mut' src/cli/dispatch.rs both return empty.

What remained was a stale entry in docs/CODE_QUALITY_TODO.md still listing the (deprecated, unused_mut, unused_mut) suppressions for src/cli/dispatch.rs as outstanding. Tick it.

This addresses issue #102 (which mirrored upstream PR 1jehuang#124).

Changes

  • docs/CODE_QUALITY_TODO.md: tick the src/cli/dispatch.rs entry.

Tests

Doc-only change.

Notes

The actual code removal that upstream PR #124 performs has already happened in this fork. No further code change is needed.

The deprecated #[allow(deprecated)] / unused_mut suppressions in
src/cli/dispatch.rs guarded the now-removed `Args::standalone` flag
(removed locally in commit eaf7bf0 "Remove standalone references"
on top of the cli module extract in 568b0d8). The suppressions
themselves are gone, so the TODO entry is stale. Tick it.

Refs upstream PR 1jehuang#124 (which
performed the equivalent removal upstream).
Closes #102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant