Create a new line credit.
(line_number: u64, credit: Credit)
| 376 | impl LineCredit { |
| 377 | /// Create a new line credit. |
| 378 | pub fn new(line_number: u64, credit: Credit) -> Self { |
| 379 | Self { |
| 380 | line_number, |
| 381 | credit, |
| 382 | content: None, |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | /// Create a line credit with content. |
| 387 | pub fn with_content(line_number: u64, credit: Credit, content: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected