Skip to main content

render_to_string

Function render_to_string 

Source
pub fn render_to_string(db: &FileDb, diagnostics: &[Diagnostic]) -> String
Expand description

Render diagnostics to a String (useful for tests and snapshot testing).