Skip to main content

loaded_files_as_view

Function loaded_files_as_view 

Source
pub fn loaded_files_as_view(
    files: &[LoadedFile],
) -> Vec<(String, String, FileId)>
Expand description

View the closure as (path, text, FileId) triples so the caller can construct SourceFile<'_> borrows.