From cb6570ded4816ab5a08dbef21bb24791c8291d51 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Tue, 27 Apr 2021 06:47:42 -0400 Subject: [PATCH] Fix code examples for RecordBatch::try_from_iter --- arrow/src/record_batch.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arrow/src/record_batch.rs b/arrow/src/record_batch.rs index 39ef227f37cd..f1fd86794cb7 100644 --- a/arrow/src/record_batch.rs +++ b/arrow/src/record_batch.rs @@ -268,7 +268,7 @@ impl RecordBatch { /// ("a", a), /// ("b", b), /// ]); - /// + /// ``` pub fn try_from_iter(value: I) -> Result where I: IntoIterator, @@ -307,6 +307,7 @@ impl RecordBatch { /// ("a", a, false), /// ("b", b, true), /// ]); + /// ``` pub fn try_from_iter_with_nullable(value: I) -> Result where I: IntoIterator,