(&self, f: &mut fmt::Formatter<'_>)
| 40 | for (index, raw) in src.lines().enumerate() { |
| 41 | let line = raw.trim(); |
| 42 | if line.is_empty() || line.starts_with('#') || line.starts_with(';') { |
| 43 | continue; |
| 44 | } |
| 45 | if let Some(name) = line.strip_suffix(':') |
| 46 | && !name.is_empty() |
| 47 | && !name.contains(|c: char| c.is_whitespace()) |
| 48 | { |
| 49 | out.push(RvInstruction::Label(name.to_owned())); |
| 50 | continue; |
| 51 | } |
| 52 | if line.starts_with('.') { |
| 53 | out.push(RvInstruction::Directive(line.to_owned())); |
nothing calls this directly
no outgoing calls
no test coverage detected