pub trait JoinConjunction<'own> {
// Required method
fn join_conjunction(&'own self, conjunction: &str) -> String;
}Expand description
Join with conjunction.
Required Methods§
Sourcefn join_conjunction(&'own self, conjunction: &str) -> String
fn join_conjunction(&'own self, conjunction: &str) -> String
Join iterated strings as human-readable in English with a conjunction and an Oxford comma.
Examples:
oneone or twoone, two, or threeone, two, three, or four