pub fn versions_preview(&self) -> impl Iterator<Item = CompilerVersionData> {
        let mut versions = self.versions.values().cloned().collect::<Vec<_>>();
        versions.sort_by(|a, b| a.partial_cmp(b).unwrap().reverse());
        versions.into_iter().take(10)
    }
/// Returns an iterator of the most recent Rust versions in reverse chronological order.
Returns an iterator of the most recent Rust versions in reverse chronological order.
Returns an iterator of the most recent Rust versions in reverse chronological order .
pub fn versions_preview(&self) -> impl Iterator<Item = CompilerVersionData> {
        let mut versions = self.versions.values().cloned().collect::<Vec<_>>();
        versions.sort_by(|a, b| a.partial_cmp(b).unwrap().reverse());
        versions.into_iter().take(10)
    }
pub fn versions_preview ( & self ) -> impl Iterator < Item = CompilerVersionData > { let mut versions = self . versions . values ( ) . cloned ( ) . collect :: < Vec < _ > > ( ) ; versions . sort_by ( | a , b | a . partial_cmp ( b ) . unwrap ( ) . reverse ( ) ) ; versions . into_iter ( ) . take ( 10 ) }
Returns an iterator of the most recent Rust versions in reverse chronological order.
Returns an iterator of the most recent Rust versions in reverse chronological order .
&self
&self