Skip to main content

carries_placeholder

Function carries_placeholder 

Source
pub fn carries_placeholder(attrs: &Attributes) -> bool
Expand description

Whether any string substitute_attrs resolves carries a {.

The two walk the same strings, so a field added to one belongs in the other; this is what keeps an element with no placeholder from being copied at all.