pub fn parse_record(input: &str) -> ParseResult<LCOVRecord>
Expand description
Parse the record
ยงExamples
use lcov_parser:: { LCOVRecord, parse_record };
let result = parse_record("TN:test_name\n");
assert_eq!(result.unwrap(), LCOVRecord::TestName(Some("test_name".to_string())));