fn check_highlighting(ra_fixture: &str, expect: ExpectFile, rainbow: bool) {
    let (analysis, file_id) = fixture::file(ra_fixture);
    let actual_html = &analysis.highlight_as_html(file_id, rainbow).unwrap();
    expect.assert_eq(actual_html)
}
/// Highlights the code given by the `ra_fixture` argument, renders the
/// result as HTML, and compares it with the HTML file given as `snapshot`.
/// Note that the `snapshot` file is overwritten by the rendered HTML.
Highlights the code given by the `ra_fixture` argument, renders the
result as HTML, and compares it with the HTML file given as `snapshot`.
Note that the `snapshot` file is overwritten by the rendered HTML.
Highlights the code given by the ` ra_fixture ` argument renders the result as HTML and compares it with the HTML file given as ` snapshot ` . Note that the ` snapshot ` file is overwritten by the rendered HTML .
fn check_highlighting(ra_fixture: &str, expect: ExpectFile, rainbow: bool) {
    let (analysis, file_id) = fixture::file(ra_fixture);
    let actual_html = &analysis.highlight_as_html(file_id, rainbow).unwrap();
    expect.assert_eq(actual_html)
}
fn check_highlighting ( ra_fixture : & str , expect : ExpectFile , rainbow : bool ) { let ( analysis , file_id ) = fixture :: file ( ra_fixture ) ; let actual_html = & analysis . highlight_as_html ( file_id , rainbow ) . unwrap ( ) ; expect . assert_eq ( actual_html ) }
Highlights the code given by the `ra_fixture` argument, renders the
result as HTML, and compares it with the HTML file given as `snapshot`.
Highlights the code given by the ` ra_fixture ` argument renders the result as HTML and compares it with the HTML file given as ` snapshot ` .
ra_fixture
&str
expect
ExpectFile
rainbow
bool
ra_fixture
&str
expect
ExpectFile
rainbow
bool