From 54d3c1e69f7429afa2590c2ea7c0b935782f0ac5 Mon Sep 17 00:00:00 2001 From: pierwill <19642016+pierwill@users.noreply.github.com> Date: Thu, 30 Jun 2022 20:13:28 -0500 Subject: [PATCH] fix: Fix docs for `schema::Schema::is_empty` (#5011) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- schema/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/src/lib.rs b/schema/src/lib.rs index 05b76ab5d0..08aa84a928 100644 --- a/schema/src/lib.rs +++ b/schema/src/lib.rs @@ -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() }