You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style: fix clippy::items_after_statements warnings
Move item declarations (const, use, extern) to the beginning of their scopes:
- macos.rs: Move DYLD_INSERT_LIBRARIES const to function start
- client/mod.rs: Move extern "C" blocks and use statements before code
- unix/mod.rs: Move PRELOAD_CDYLIB and SAFE_FD_NUM consts to function/scope start
These changes improve code organization and follow Rust best practices
where items should be declared at the start of their scope.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
style: fix clippy::items_after_statements in test code
Move item declarations (struct, use statements) to the beginning of test
functions to comply with clippy::items_after_statements lint.
Changes:
- vite_package_manager/src/request.rs: Move struct and use statements to
the beginning of test functions
- vite_task/src/fingerprint.rs: Move use statements to the beginning of
test functions and remove duplicate imports
All tests pass and clippy is clean with -D clippy::items_after_statements.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments