Skip to content

Commit

Permalink
ignore doctest for private member
Browse files Browse the repository at this point in the history
  • Loading branch information
OussamaSaoudi-db committed Jan 10, 2025
1 parent 431e75a commit 15173fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/src/schema_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! compatibility is [`can_read_as`].
//!
//! # Examples
//! ```rust
//! ```rust, ignore
//! # use delta_kernel::schema::StructType;
//! # use delta_kernel::schema::StructField;
//! # use delta_kernel::schema::DataType;
Expand Down Expand Up @@ -63,7 +63,6 @@ impl crate::schema::StructField {
impl crate::schema::StructType {
/// Returns `Ok` if this [`StructType`] can be read as `read_type` in the read schema.
#[allow(unused)]
#[cfg_attr(feature = "developer-visibility", visibility::make(pub))]
pub(crate) fn can_read_as(&self, read_type: &Self) -> DeltaResult<()> {
let field_map: HashMap<String, &crate::schema::StructField> = self
.fields
Expand Down

0 comments on commit 15173fe

Please sign in to comment.