MCPcopy Create free account
hub / github.com/FastLED/FastLED / split_line_comment

Function split_line_comment

ci/lint_cpp_rs/src/lib.rs:1816–1818  ·  view source on GitHub ↗
(line: &str)

Source from the content-addressed store, hash-verified

1814}
1815
1816fn split_line_comment(line: &str) -> &str {
1817 line.split("//").next().unwrap_or(line)
1818}
1819
1820fn strip_block_comments_from_line(line: &str, in_block_comment: &mut bool) -> String {
1821 let mut visible = String::new();

Callers 3

check_file_contentMethod · 0.85

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected