You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2018/12/05 08:37:48 UTC

[arrow] branch master updated: ARROW-3937: [Rust] Fix Rust nightly build (formatting rules changed)

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f4af26  ARROW-3937: [Rust] Fix Rust nightly build (formatting rules changed)
2f4af26 is described below

commit 2f4af266baca7e35497a0323cfb612a9549f725a
Author: Andy Grove <an...@gmail.com>
AuthorDate: Wed Dec 5 17:37:34 2018 +0900

    ARROW-3937: [Rust] Fix Rust nightly build (formatting rules changed)
    
    Fix formatting using rustc 1.32.0-nightly (b3af09205 2018-12-04) .. looks like formatting rules changed recently
    
    Author: Andy Grove <an...@gmail.com>
    
    Closes #3098 from andygrove/ARROW-3937 and squashes the following commits:
    
    89362b06 <Andy Grove> Fix formatting using rustc 1.32.0-nightly (b3af09205 2018-12-04)
---
 rust/src/datatypes.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rust/src/datatypes.rs b/rust/src/datatypes.rs
index fdb9351..1eeb71f 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 {