Skip to content

Remove unused username binding#52

Open
Errordog2 wants to merge 1 commit into
StellarTips:mainfrom
Errordog2:codex/remove-username-dead-binding-32
Open

Remove unused username binding#52
Errordog2 wants to merge 1 commit into
StellarTips:mainfrom
Errordog2:codex/remove-username-dead-binding-32

Conversation

@Errordog2

Copy link
Copy Markdown
Contributor

Closes #32.

Summary

  • Remove the unused _username parameter from �alidate_input().
  • Remove the dead let _ = _username; binding.
  • Update the two call sites to pass only the fields that are actually validated.

Validation

  • Static search confirmed let _ = _username, _username:, and old �alidate_input(&env, Some/None, ...) call sites are gone.
  • git diff --check passed.
  • Sensitive scan of src/lib.rs passed.

Note: cargo fmt / cargo fmt --check were attempted locally but blocked by rustup/toolchain startup hanging on this Windows host; no functional code paths changed.

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.

refactor: Remove unused variable binding in validate_input()

1 participant