Skip to content

Commit

Permalink
feat: add into_inner for csv writer
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Feb 24, 2023
1 parent bbc1469 commit 7400261
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arrow-csv/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ impl<W: Write> Writer<W> {

Ok(())
}

/// Unwraps this `Writer<W>`, returning the underlying writer
pub fn into_inner(self) -> W {
self.writer.into_inner().unwrap()
}
}

/// A CSV writer builder
Expand Down

0 comments on commit 7400261

Please sign in to comment.