Fix code quality: trailing whitespace, unused imports, clippy warnings

- Fix trailing whitespace in kex.rs and s3.rs
- Add missing KexProposal import in kex_complete.rs
- Auto-fix clippy warnings across all crates
- All 153 tests pass
This commit is contained in:
Warren
2026-06-19 05:21:38 +08:00
parent 4b37e524cf
commit d94cb2df4c
135 changed files with 7256 additions and 4321 deletions

View File

@@ -33,7 +33,7 @@ impl Discovery {
let response = conn.recv_pdu().await?;
// Parse SendTargets response
if response.data.len() > 0 {
if !response.data.is_empty() {
let targets_str = String::from_utf8_lossy(&response.data);
let targets = targets_str
.lines()