fix: Fix docs for `schema::Schema::is_empty` (#5011)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
pierwill 2022-06-30 20:13:28 -05:00 committed by GitHub
parent 0c705fecf1
commit 54d3c1e69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ impl Schema {
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 {
self.inner.fields().is_empty()
}