Skip to content

Commit 9b43297

Browse files
alambtustvold
andauthored
Apply suggestions from code review
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
1 parent 438ae14 commit 9b43297

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arrow/src/json/reader.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,9 @@ where
557557

558558
/// JSON values to Arrow record batch decoder.
559559
///
560-
/// A [Decoder] decodes arbitrary streams of [serde_json::Value]s and
561-
/// converts them to [RecordBatch]es. To decode JSON formatted files,
562-
/// see [Reader].
560+
/// A [`Decoder`] decodes arbitrary streams of [`serde_json::Value`]s and
561+
/// converts them to [`RecordBatch`]es. To decode JSON formatted files,
562+
/// see [`Reader`].
563563
///
564564
/// # Examples
565565
/// ```
@@ -639,7 +639,7 @@ impl DecoderOptions {
639639

640640
impl Decoder {
641641
/// Create a new JSON decoder from some value that implements an
642-
/// iterator over [serde_json::Value]s (aka implements the
642+
/// iterator over [`serde_json::Value`]s (aka implements the
643643
/// `Iterator<Item=Result<Value>>` trait).
644644
pub fn new(schema: SchemaRef, options: DecoderOptions) -> Self {
645645
Self { schema, options }
@@ -668,8 +668,8 @@ impl Decoder {
668668
}
669669
}
670670

671-
/// Read the next batch of [serde_json::Value] records from the
672-
/// interator into a [RecordBatch].
671+
/// Read the next batch of [`serde_json::Value`] records from the
672+
/// interator into a [`RecordBatch`].
673673
///
674674
/// Returns `None` if the input iterator is exhausted.
675675
pub fn next_batch<I>(&self, value_iter: &mut I) -> Result<Option<RecordBatch>>

0 commit comments

Comments
 (0)