.opencode/commands/rust-review.md
Review Rust code for idiomatic patterns and best practices: $ARGUMENTS
? propagation, no unwrap in productionunwrap()/expect() in production pathsunsafe blocks have // SAFETY: comments.clone() to satisfy borrow checker&str preferred over String in function parameters&[T] preferred over Vec<T> in function parameters?; use .context() in anyhow/eyre application codelet _ = result;)thiserror for library errors, anyhow for applicationsMutex poisoning handledSend/Sync bounds correctTIP: Run cargo clippy -- -D warnings and cargo fmt --check for automated checks.