Skip to content

Commit

Permalink
Remove footgun function
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Jan 6, 2025
1 parent 0c2c8c4 commit de01f92
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions consensus/types/src/runtime_var_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ impl<T> RuntimeVariableList<T> {
}
}

pub fn set_max_len(&mut self, max_len: usize) {
self.max_len = Some(max_len);
}

/// Returns the number of values presently in `self`.
pub fn len(&self) -> usize {
self.vec.len()
Expand Down

0 comments on commit de01f92

Please sign in to comment.