Skip to main content

register_diff_rule

Function register_diff_rule 

Source
pub fn register_diff_rule(symbol: Symbol, rule: DiffRule) -> Result<()>
Expand description

Register rule for symbol in the global registry.

ยงErrors

Returns an error if the global registry lock is poisoned or a rule already exists for symbol.