Skip to main content

canonical

Function canonical 

Source
pub fn canonical(link: LiNo<String>) -> LiNo<String>
Expand description

Converts a parsed link into the canonical model: an unnamed group holding exactly one reference is that reference, so a and (a) both parse as the reference a. links-notation (since 0.17) and its C# port keep that wrapper; removing it gives both ports the same document model.