fn to_string(&self) -> String {
        let mut final_output: Vec<String> = Vec::new();

        for &(lo, hi) in self.iter() {
            if lo != hi {
                debug_assert!(lo < hi);
                final_output.push(format!("{}-{}", lo, hi));
            } else {
                final_output.push(format!("{}", lo));
            }
        }
        final_output.join(",")
    }
/// Contracts a `ProtoSet` of versions into a string.
///
/// # Returns
///
/// A `String` representation of this `ProtoSet` in ascending order.
Contracts a `ProtoSet` of versions into a string.
Contracts a ` ProtoSet ` of versions into a string .
fn to_string(&self) -> String {
        let mut final_output: Vec<String> = Vec::new();
        for &(lo, hi) in self.iter() {
            if lo != hi {
                debug_assert!(lo < hi);
                final_output.push(format!("{}-{}", lo, hi));
            } else {
                final_output.push(format!("{}", lo));
            }
        }
        final_output.join(",")
    }
fn to_string ( & self ) -> String { let mut final_output : Vec < String > = Vec :: new ( ) ; for & ( lo , hi ) in self . iter ( ) { if lo != hi { debug_assert ! ( lo hi ) ; final_output . push ( format ! ( " " lo hi ) ) ; } else { final_output . push ( format ! ( " " lo ) ) ; } } final_output . join ( " " ) }
Contracts a `ProtoSet` of versions into a string.
Contracts a ` ProtoSet ` of versions into a string .
&self
A `String` representation of this `ProtoSet` in ascending order.
A ` String ` representation of this ` ProtoSet ` in ascending order .
&self