Skip to content

Commit 9e7f3ec

Browse files
committed
split: panic message text
1 parent 782e8ab commit 9e7f3ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

file/split.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ impl OutputState {
163163
fn write(&mut self, buf: &[u8]) -> io::Result<()> {
164164
match &mut self.outf {
165165
Some(ref mut f) => f.write_all(buf),
166-
None => panic!("lol"),
166+
// TODO:
167+
None => panic!("unreachable"),
167168
}
168169
}
169170

0 commit comments

Comments
 (0)