diff --git a/arrow-array/src/builder/primitive_builder.rs b/arrow-array/src/builder/primitive_builder.rs index 0af7e1c89d93..a969e121808b 100644 --- a/arrow-array/src/builder/primitive_builder.rs +++ b/arrow-array/src/builder/primitive_builder.rs @@ -176,8 +176,8 @@ impl PrimitiveBuilder { } } - /// By default [`PrimitiveBuilder`] uses [`T::DATA_TYPE`] as the data type of - /// the generated array. + /// By default [`PrimitiveBuilder`] uses [`ArrowPrimitiveType::DATA_TYPE`] as the + /// data type of the generated array. /// /// This method allows overriding the data type, to allow specifying timezones /// for [`DataType::Timestamp`] or precision and scale for [`DataType::Decimal128`]