pub fn new<I>(targets: I) -> TargetSet
    where
        I: IntoIterator,
        I::Item: AsRef<str>,
    {
        let targets: HashSet<String> = targets
            .into_iter()
            .map(|t| t.as_ref().to_lowercase())
            .collect();
        TargetSet(targets)
    }
/// Create a target set.
///
/// `targets` can be anything that may be turned into an iterator over
/// something that can be turned into a `&str`.
Create a target set.
`targets` can be anything that may be turned into an iterator over
something that can be turned into a `&str`.
Create a target set . ` targets ` can be anything that may be turned into an iterator over something that can be turned into a ` &str ` .
pub fn new<I>(targets: I) -> TargetSet
    where
        I: IntoIterator,
        I::Item: AsRef<str>,
    {
        let targets: HashSet<String> = targets
            .into_iter()
            .map(|t| t.as_ref().to_lowercase())
            .collect();
        TargetSet(targets)
    }
pub fn new < I > ( targets : I ) -> TargetSet where I : IntoIterator , I :: Item : AsRef < str > , { let targets : HashSet < String > = targets . into_iter ( ) . map ( | t | t . as_ref ( ) . to_lowercase ( ) ) . collect ( ) ; TargetSet ( targets ) }
Create a target set.
Create a target set .
targets
I
targets
I