Skip to content

Commit

Permalink
Update writer.rs (apache#4100)
Browse files Browse the repository at this point in the history
  • Loading branch information
rinarakaki committed Apr 19, 2023
1 parent 1097203 commit 93484a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parquet/src/file/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ pub struct SerializedColumnWriter<'a> {
}

impl<'a> SerializedColumnWriter<'a> {
/// Create a new [`SerializedColumnWriter`] from a `[`ColumnWriter`] and an
/// Create a new [`SerializedColumnWriter`] from a [`ColumnWriter`] and an
/// optional callback to be invoked on [`Self::close`]
pub fn new(
inner: ColumnWriter<'a>,
Expand All @@ -563,7 +563,7 @@ impl<'a> SerializedColumnWriter<'a> {
get_typed_column_writer_mut(&mut self.inner)
}

/// Close this [`SerializedColumnWriter]
/// Close this [`SerializedColumnWriter`]
pub fn close(mut self) -> Result<()> {
let r = match self.inner {
ColumnWriter::BoolColumnWriter(typed) => typed.close()?,
Expand Down

0 comments on commit 93484a1

Please sign in to comment.