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
{{ message }}
Repository navigation
Fix the clippy collapsible_match error in packages/agent's plain_text.rs #3574
With rustc/clippy 1.95, bun run rust:lint fails on main with one error in packages/agent/src/pty/plain_text.rs:97 (clippy::collapsible_match). The merge gate doesn't run clippy (#3563), so it landed green. It only showed up once the two nodespace-core errors in front of it were fixed (#3571).
packages/agent needs its owner's sign-off, so this fix is filed separately and not bundled into #3571.
Ready-made fix (behaviour-preserving)
Use a match guard ... if !lines.current.is_empty(). An empty line then falls past the disjoint 'C' | 'G' arm to _ => {}, as it does today. #3571's reviewer checked this equivalence before it was split out.
Activity
Run clippy in the merge gate; fix the collapsible_match error in plai…