From 8d7445f08a2e8e20cc26d66f416092eee6c5c3fa Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Wed, 19 Apr 2017 20:07:38 +0900 Subject: [PATCH] removing the 255 fields limit --- src/schema/schema.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/schema/schema.rs b/src/schema/schema.rs index bdc28cf10..70ca86cb9 100644 --- a/src/schema/schema.rs +++ b/src/schema/schema.rs @@ -100,9 +100,6 @@ impl SchemaBuilder { /// Finalize the creation of a `Schema` /// This will consume your `SchemaBuilder` pub fn build(self,) -> Schema { - if self.fields.len() > MAX_NUM_FIELDS { - panic!("There may be at most 255 fields."); - } Schema(Arc::new(InnerSchema { fields: self.fields, fields_map: self.fields_map,