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,