Create a line credit with content.
(line_number: u64, credit: Credit, content: impl Into<String>)
| 385 | |
| 386 | /// Create a line credit with content. |
| 387 | pub fn with_content(line_number: u64, credit: Credit, content: impl Into<String>) -> Self { |
| 388 | Self { |
| 389 | line_number, |
| 390 | credit, |
| 391 | content: Some(content.into()), |
| 392 | } |
| 393 | } |
| 394 | |
| 395 | /// Format for blame-style output. |
| 396 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected