Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
liukun4515 committed Aug 31, 2022
1 parent eacb730 commit 21a966e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arrow/src/ipc/convert.rs
Expand Up @@ -188,9 +188,9 @@ pub fn try_schema_from_ipc_buffer(buffer: &[u8]) -> Result<Schema> {
})?;
Ok(fb_to_schema(ipc_schema))
} else {
Err(ArrowError::ParseError(format!(
"The buffer length is less than 4, parser buffer to Schema"
)))
Err(ArrowError::ParseError(
"The buffer length is less than 4 and missing the continuation maker or length of buffer".to_string()
))
}
}

Expand Down

0 comments on commit 21a966e

Please sign in to comment.