Function clippy_lints::utils::without_block_comments [] [src]

Important traits for Vec<u8>
pub fn without_block_comments(lines: Vec<&str>) -> Vec<&str>

Remove block comments from the given Vec of lines

Examples

This example is not tested
without_block_comments(vec!["/*", "foo", "*/"]);
// => vec![]

without_block_comments(vec!["bar", "/*", "foo", "*/"]);
// => vec!["bar"]