From 4c4c28e2c452a59c329d623948d8c8ab40ef3bbb Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Thu, 11 May 2017 20:57:32 +0900 Subject: [PATCH] Fix broke compile --- src/schema/term.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/schema/term.rs b/src/schema/term.rs index 41fc613fb..a539d6e2b 100644 --- a/src/schema/term.rs +++ b/src/schema/term.rs @@ -43,14 +43,6 @@ impl Term { BigEndian::write_u32(&mut self.0[0..4], field.0); } - /// Returns the field. - pub fn set_field(&mut self, field: Field) { - if self.0.len() < 4 { - self.0.resize(4, 0u8); - } - BigEndian::write_u32(&mut self.0[0..4], field.0); - } - /// Builds a term given a field, and a u64-value /// /// Assuming the term has a field id of 1, and a u64 value of 3234,