Skip to content

Commit

Permalink
fix fmt issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohaiyuan committed Feb 9, 2025
1 parent 4c50242 commit be2fa92
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/src/services/hdfs_native/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use bytes::{Buf, Bytes};
use hdfs_native::file::FileWriter;

use crate::services::hdfs_native::error::parse_hdfs_error;
use crate::raw::*;
use crate::services::hdfs_native::error::parse_hdfs_error;
use crate::*;

pub struct HdfsNativeWriter {
Expand Down Expand Up @@ -47,10 +47,7 @@ impl oio::Write for HdfsNativeWriter {
}

async fn close(&mut self) -> Result<()> {
self.f
.close()
.await
.map_err(parse_hdfs_error)?;
self.f.close().await.map_err(parse_hdfs_error)?;

Ok(())
}
Expand Down

0 comments on commit be2fa92

Please sign in to comment.