Create an empty semantic diff (no changes).
()
| 151 | impl<'a> SemanticDiff<'a> { |
| 152 | /// Create an empty semantic diff (no changes). |
| 153 | pub fn empty() -> Self { |
| 154 | Self { |
| 155 | changes: Vec::new(), |
| 156 | stats: SemanticDiffStats::default(), |
| 157 | old_lines: Vec::new(), |
| 158 | new_lines: Vec::new(), |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | /// Get the line changes. |
| 163 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected