Skip to content

Apache DataFusion SQL Query Engine

ARROW-3937: [Rust] Fix Rust nightly build (formatting rules changed)

Andy Grovea33c22b5c474
diff --git a/rust/src/datatypes.rs b/rust/src/datatypes.rs
index fdb9351e61..1eeb71f71a 100644
--- a/rust/src/datatypes.rs
+++ b/rust/src/datatypes.rs
@@ -281,7 +281,7 @@ impl Field {
_ => {
return Err(ArrowError::ParseError(
"Field missing 'name' attribute".to_string(),
- ))
+ ));
}
};
let nullable = match map.get("nullable") {
@@ -289,7 +289,7 @@ impl Field {
_ => {
return Err(ArrowError::ParseError(
"Field missing 'nullable' attribute".to_string(),
- ))
+ ));
}
};
let data_type = match map.get("type") {
@@ -297,7 +297,7 @@ impl Field {
_ => {
return Err(ArrowError::ParseError(
"Field missing 'type' attribute".to_string(),
- ))
+ ));
}
};
Ok(Field {