pub fn print_warnings(&self, warnings: &[Warning], file_index: usize) {
        if self.is_quiet_mode {
            return;
        }

        warnings.iter().for_each(|w| println!("{}", w));
        let is_last_file = file_index == self.files_count - 1;
        if !warnings.is_empty() && !is_last_file {
            println!();
        }
    }
/// Prints warnings without any additional information
Prints warnings without any additional information
Prints warnings without any additional information
pub fn print_warnings(&self, warnings: &[Warning], file_index: usize) {
        if self.is_quiet_mode {
            return;
        }
        warnings.iter().for_each(|w| println!("{}", w));
        let is_last_file = file_index == self.files_count - 1;
        if !warnings.is_empty() && !is_last_file {
            println!();
        }
    }
pub fn print_warnings ( & self , warnings : & [ Warning ] , file_index : usize ) { if self . is_quiet_mode { return ; } warnings . iter ( ) . for_each ( | w | println ! ( " " w ) ) ; let is_last_file = file_index == self . files_count - 1 ; if ! warnings . is_empty ( ) && ! is_last_file { println ! ( ) ; } }
Prints warnings without any additional information
Prints warnings without any additional information
&self
warnings
&[Warning]
file_index
usize
&self
warnings
&[Warning]
file_index
usize