From be0fd6b222f11356ee026c8afd70a0cd9df80c17 Mon Sep 17 00:00:00 2001 From: Folyd Date: Thu, 26 Oct 2023 22:19:46 +0800 Subject: [PATCH] Update arrow-schema/src/schema.rs Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> --- arrow-schema/src/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow-schema/src/schema.rs b/arrow-schema/src/schema.rs index e30256524868..b39a5a159812 100644 --- a/arrow-schema/src/schema.rs +++ b/arrow-schema/src/schema.rs @@ -333,7 +333,7 @@ impl Schema { .all(|(k, v1)| self.metadata.get(k).map(|v2| v1 == v2).unwrap_or_default()) } - /// Remove field by name and return it. Recommend to use [`SchemaBuilder`] + /// Remove field by index and return it. Recommend to use [`SchemaBuilder`] /// if you are looking to remove multiple columns, as this will save allocations. /// /// # Panic