fn executables<T: AsRef<str>>(mut names: impl Iterator<Item = T> + Clone) -> String {
            if names.clone().count() == 1 {
                format!("(executable `{}`)", names.next().unwrap().as_ref())
            } else {
                format!(
                    "(executables {})",
                    names
                        .map(|b| format!("`{}`", b.as_ref()))
                        .collect::<Vec<_>>()
                        .join(", ")
                )
            }
        }
// Helper for creating status messages.
Helper for creating status messages.
Helper for creating status messages .
fn executables<T: AsRef<str>>(mut names: impl Iterator<Item = T> + Clone) -> String {
            if names.clone().count() == 1 {
                format!("(executable `{}`)", names.next().unwrap().as_ref())
            } else {
                format!(
                    "(executables {})",
                    names
                        .map(|b| format!("`{}`", b.as_ref()))
                        .collect::<Vec<_>>()
                        .join(", ")
                )
            }
        }
fn executables < T : AsRef < str > > ( mut names : impl Iterator < Item = T > + Clone ) -> String { if names . clone ( ) . count ( ) == 1 { format ! ( " " names next ( ) unwrap ( ) as_ref ( ) ) } else { format ! ( " " names map ( b format ( " " b as_ref ( ) ) ) collect Vec ( ) join ( " " ) ) } }
Helper for creating status messages.
Helper for creating status messages .
names
impl Iterator<Item = T> + Clone
names
impl Iterator<Item = T> + Clone