fix: Fix docs for `schema::Schema::is_empty` (#5011)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
0c705fecf1
commit
54d3c1e69f
|
@ -223,7 +223,7 @@ impl Schema {
|
||||||
self.inner.fields().len()
|
self.inner.fields().len()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the number of columns defined in this schema
|
/// Returns `true` if the schema contains no fields.
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
self.inner.fields().is_empty()
|
self.inner.fields().is_empty()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue