pub trait PrRule: Send + Sync {
// Required methods
fn id(&self) -> &str;
fn check(&self, pr: &PrEntry) -> Option<PrIssue>;
}Expand description
A rule that checks PR titles.
pub trait PrRule: Send + Sync {
// Required methods
fn id(&self) -> &str;
fn check(&self, pr: &PrEntry) -> Option<PrIssue>;
}A rule that checks PR titles.