1 2 3 4
# 源文件统一 LF, 避免 Windows 检出 CRLF 导致 rustfmt --check 误报 *.rs text eol=lf *.toml text eol=lf Cargo.lock text eol=lf