Skip to main content

principal

Function principal 

Source
pub fn principal(name: &str, email: &str) -> String
Expand description

Principal styling: name in bold, email dimmed. Returns the pre-composed "Name <email>" string so callers don’t have to thread two fragments through println! arguments.