Skip to content

Commit

Permalink
Add implicit return Ok(()) to _with_arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
chmp committed Oct 9, 2024
1 parent adfd383 commit 9f0f290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions marrow/src/impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ macro_rules! _with_arrow {
use $crate::r#impl::arrow;
$($tt)*
}
return Ok(());
};
}

Expand Down
4 changes: 2 additions & 2 deletions marrow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
//! // access the underlying data
//! let View::Int32(marrow_view) = marrow_view else { panic!() };
//! assert_eq!(marrow_view.values, &[1, 2, 3]);
//! # } Ok(()) }
//! # } }
//! ```
//!
//! Or to build an array:
Expand All @@ -77,7 +77,7 @@
//! assert_eq!(arrow_array_ref.is_null(0), false);
//! assert_eq!(arrow_array_ref.is_null(1), true);
//! assert_eq!(arrow_array_ref.is_null(2), false);
//! # } Ok(()) }
//! # } }
//! ```
//!
//! ## Features
Expand Down

0 comments on commit 9f0f290

Please sign in to comment.