Skip to content

Conversation

@AaronChen0
Copy link
Contributor

This PR applies the clippy::use_self lint across the codebase using:

cargo clippy --features "full-extra local-flow-stat utility-url-outline" --allow-dirty --all --fix -- -W clippy::use_self

Motivation:

  • Improves readability and maintainability by reducing redundancy in impl blocks.
  • Makes the codebase more idiomatic, aligning with common Rust practices.
  • Helps future-proof refactoring (e.g. type renaming).

@zonyitoo zonyitoo merged commit 1041d5f into shadowsocks:master Jun 7, 2025
17 checks passed
@AaronChen0 AaronChen0 deleted the Self branch June 9, 2025 04:30
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.

2 participants