Skip to main content

same_ctor

Function same_ctor 

Source
pub fn same_ctor(a: &str, b: &str) -> bool
Expand description

Returns true if two patterns have the same structure (same ctor and arity).