fn print_platforms_table() {
    let mut current_tier: Option<Tier> = None;

    for platform in Platform::ALL {
        // Print headers if we're on a different tier from before
        if current_tier != Some(platform.tier) {
            if current_tier.is_some() {
                println!();
            }

            print_table_header(platform.tier);
            current_tier = Some(platform.tier);
        }

        print_platform_entry(platform);
    }

    // Print markdown links for lowest tier
    print_platform_links();
}
/// Print the table of known platforms
Print the table of known platforms
Print the table of known platforms
fn print_platforms_table() {
    let mut current_tier: Option<Tier> = None;
    for platform in Platform::ALL {
        // Print headers if we're on a different tier from before
        if current_tier != Some(platform.tier) {
            if current_tier.is_some() {
                println!();
            }
            print_table_header(platform.tier);
            current_tier = Some(platform.tier);
        }
        print_platform_entry(platform);
    }
    // Print markdown links for lowest tier
    print_platform_links();
}
fn print_platforms_table ( ) { let mut current_tier : Option < Tier > = None ; for platform in Platform :: ALL { // Print headers if we're on a different tier from before if current_tier != Some ( platform . tier ) { if current_tier . is_some ( ) { println ! ( ) ; } print_table_header ( platform . tier ) ; current_tier = Some ( platform . tier ) ; } print_platform_entry ( platform ) ; } // Print markdown links for lowest tier print_platform_links ( ) ; }
Print the table of known platforms
Print the table of known platforms