Skip to content

Commit d0159f1

Browse files
author
Devdutt Shenoi
committed
style: coderabbit suggestion
1 parent c48499e commit d0159f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parseable/staging/writer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ impl DiskWriter {
5353
.open(partfile_path)?;
5454

5555
Ok(Self {
56-
inner: FileWriter::try_new_buffered(file, schema)
57-
.expect("File and RecordBatch both are checked"),
56+
inner: FileWriter::try_new_buffered(file, schema)?,
5857
path_prefix,
5958
})
6059
}

0 commit comments

Comments
 (0)