pub fn source(&self, span: FileSpan) -> Option<&str> {
        let start = span.start().to_usize();
        let end = span.end().to_usize();

        self[span.source()].contents.get(start..end)
    }
/// Return a slice of the source file, given a span.
Return a slice of the source file, given a span.
Return a slice of the source file given a span .
pub fn source(&self, span: FileSpan) -> Option<&str> {
        let start = span.start().to_usize();
        let end = span.end().to_usize();
        self[span.source()].contents.get(start..end)
    }
pub fn source ( & self , span : FileSpan ) -> Option < & str > { let start = span . start ( ) . to_usize ( ) ; let end = span . end ( ) . to_usize ( ) ; self [ span . source ( ) ] . contents . get ( start .. end ) }
Return a slice of the source file, given a span.
Return a slice of the source file given a span .
&self
span
FileSpan
&self
span
FileSpan