fn unwrap_code_block(&mut self) {
        self.non_formatted_ranges.iter_mut().for_each(|range| {
            *range = range.shift_up();
        });
    }
/// In case the snippet needed to be wrapped in a function, this shifts down the ranges of
/// non-formatted code.
In case the snippet needed to be wrapped in a function, this shifts down the ranges of
non-formatted code.
In case the snippet needed to be wrapped in a function this shifts down the ranges of non - formatted code .
fn unwrap_code_block(&mut self) {
        self.non_formatted_ranges.iter_mut().for_each(|range| {
            *range = range.shift_up();
        });
    }
fn unwrap_code_block ( & mut self ) { self . non_formatted_ranges . iter_mut ( ) . for_each ( | range | { * range = range . shift_up ( ) ; } ) ; }
In case the snippet needed to be wrapped in a function, this shifts down the ranges of
non-formatted code.
In case the snippet needed to be wrapped in a function this shifts down the ranges of non - formatted code .
&mut self
&mut self