Skip to main content

normalize

Function normalize 

Source
pub fn normalize(raw: &str) -> Cow<'_, str>
Expand description

Borrow-through fast path for labels that are already in key form.

Lookups happen per reference candidate. Unlike crate::decode’s coarse trigger bytes, is_normalized is an exact mirror of the building loop below, the idempotent test pins the two in lockstep.