Skip to main content

templates_alias

Function templates_alias 

Source
fn templates_alias(a: &[Option<Piece>], b: &[Option<Piece>]) -> bool
Expand description

Two ended templates may name the same string: they agree until one runs out (one is a prefix of the other), or they first differ where either has a hole (a hole may be any text).