fix(filemeta): satisfy clippy::field_reassign_with_default in replication_info_equals test (#4335)

fix(filemeta): use struct-init to satisfy clippy::field_reassign_with_default

The replication_info_equals test constructed FileInfo via
`let mut x = FileInfo::default()` followed by field reassignment, which
clippy::field_reassign_with_default (deny-by-default under -D warnings)
rejects on the lib-test target, breaking `Test and Lint` CI on every PR.

Rewrite the three constructions using struct-init + ..Default::default().
Test-only change; behavior unchanged.
This commit is contained in:
Zhengchao An
2026-07-07 03:01:43 +08:00
committed by GitHub
parent 25193ee6cf
commit 75fab0a842

Diff Content Not Available