Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: fan <[email protected]>
  • Loading branch information
fansehep committed Oct 16, 2023
1 parent cfb47da commit 9bd4d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parquet/src/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ fn split_compression_string(

fn check_level_is_none(level: &Option<u32>) -> Result<(), ParquetError> {
if level.is_some() {
return Err(ParquetError::General(format!("level is not support")));
return Err(ParquetError::General("level is not support".to_string()));
}

Ok(())
Expand Down

0 comments on commit 9bd4d5e

Please sign in to comment.