Skip to content

Commit 2217f3d

Browse files
committed
remove inconsistency after branch update
1 parent 2e67d58 commit 2217f3d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

text/diff_util/file_diff.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ impl<'a> FileDiff<'a> {
3636
file2: &'a mut FileData<'a>,
3737
format_options: &'a FormatOptions,
3838
) -> Self {
39-
if format_options.label1().is_none() && format_options.label2().is_some() {
40-
panic!("label1 can not be NONE when label2 is available");
41-
}
42-
4339
Self {
4440
file1,
4541
file2,

0 commit comments

Comments
 (0)