Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
name: Linting for lambda-rs & tools.
types: [rust]
- id: clippy
entry: rustup run nightly cargo clippy --workspace --all-targets -- -D warnings
entry: cargo clippy --workspace --all-targets -- -D warnings
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change removes the nightly toolchain requirement from the clippy pre-commit hook. However, the fmt hook on line 20 still uses rustup run nightly cargo fmt --, creating an inconsistency. If the intention is to remove nightly toolchain requirements entirely, both hooks should be updated. If nightly is required for fmt, document why clippy doesn't need it.

Copilot uses AI. Check for mistakes.
language: system
name: Clippy for lambda-rs & tools.
pass_filenames: false
Expand Down
6 changes: 5 additions & 1 deletion crates/lambda-rs-platform/src/physics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@

pub mod rapier2d;

pub use rapier2d::PhysicsBackend2D;
pub use rapier2d::{
PhysicsBackend2D,
RigidBody2DBackendError,
RigidBodyType2D,
};
Loading
Loading