Skip to content

Commit 6d51729

Browse files
committed
Docs
1 parent f6d9565 commit 6d51729

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arrow-array/src/array/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ pub use list_view_array::*;
7979
use crate::iterator::ArrayIter;
8080

8181
mod private {
82-
/// Private marker trait to ensure [`Array`] can not be implemented outside this crate
82+
/// Private marker trait to ensure [`super::Array`] can not be implemented outside this crate
8383
pub trait Sealed {}
8484

8585
impl<T: Sealed> Sealed for &T {}
8686
}
8787

8888
/// An array in the [arrow columnar format](https://arrow.apache.org/docs/format/Columnar.html)
89+
///
90+
/// This trait is sealed as it is not intended for custom array types, rather only
91+
/// those defined in this crate.
8992
pub trait Array: std::fmt::Debug + Send + Sync + private::Sealed {
9093
/// Returns the array as [`Any`] so that it can be
9194
/// downcasted to a specific implementation.

0 commit comments

Comments
 (0)