pub fn expand_lines(&self) -> Span {
        let start_line = self.start().line();
        let end_line = self.end().line();
        let init = self.source().line_start(start_line);
        let end = self
            .source()
            .try_line_start(end_line + 1)
            .unwrap_or(self.source().len());
        Self::new(Location::new(self.source().clone(), init), end - init)
    }
/// Expands this span in order to contain the whole lines the original span
/// contains.
Expands this span in order to contain the whole lines the original span
contains.
Expands this span in order to contain the whole lines the original span contains .
pub fn expand_lines(&self) -> Span {
        let start_line = self.start().line();
        let end_line = self.end().line();
        let init = self.source().line_start(start_line);
        let end = self
            .source()
            .try_line_start(end_line + 1)
            .unwrap_or(self.source().len());
        Self::new(Location::new(self.source().clone(), init), end - init)
    }
pub fn expand_lines ( & self ) -> Span { let start_line = self . start ( ) . line ( ) ; let end_line = self . end ( ) . line ( ) ; let init = self . source ( ) . line_start ( start_line ) ; let end = self . source ( ) . try_line_start ( end_line + 1 ) . unwrap_or ( self . source ( ) . len ( ) ) ; Self :: new ( Location :: new ( self . source ( ) . clone ( ) , init ) , end - init ) }
Expands this span in order to contain the whole lines the original span
contains.
Expands this span in order to contain the whole lines the original span contains .
&self
&self