Skip to main content

review_allows_mutation

Function review_allows_mutation 

Source
pub fn review_allows_mutation(spec: &ReviewSpec) -> bool
Expand description

Returns true only when the natural-language instructions explicitly ask the reviewer to implement or apply fixes. /review stays read-only otherwise.

Matching is whole-word: substring matching would escalate ordinary prose such as “review the implementation” (implement ⊂ implementation) or “how we apply theming” (apply them ⊂ apply theming).