Skip to main content

pattern_summary

Function pattern_summary 

Source
pub fn pattern_summary(pattern: &Pattern) -> String
Expand description

A match arm’s branch label — a short rendering of its pattern, since there is no dedicated pattern-to-source printer to reuse.