Skip to content

Commit 10b8886

Browse files
committed
fix(docs): mark code block as text in timestamp_to_date32 example
Changed code block marker from ``` to ```text in the timestamp_to_date32 function doc test to correctly format the example output as plain text.
1 parent a426bcc commit 10b8886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow-cast/src/cast/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ fn timestamp_to_date32<T: ArrowTimestampType>(
694694
/// assert_eq!(2_000_018_000, d.value(1)); // value has not been adjusted
695695
/// // NOTE: the timestamp is adjusted (08:33:20 instead of 03:33:20 as in previous example)
696696
/// assert_eq!("2033-05-18T08:33:20", display::array_value_to_string(&d, 1).unwrap());
697-
/// ```
697+
/// ```text
698698
pub fn cast_with_options(
699699
array: &dyn Array,
700700
to_type: &DataType,

0 commit comments

Comments
 (0)