Skip to content

Commit de01f92

Browse files
committed
Remove footgun function
1 parent 0c2c8c4 commit de01f92

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

consensus/types/src/runtime_var_list.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ impl<T> RuntimeVariableList<T> {
118118
}
119119
}
120120

121-
pub fn set_max_len(&mut self, max_len: usize) {
122-
self.max_len = Some(max_len);
123-
}
124-
125121
/// Returns the number of values presently in `self`.
126122
pub fn len(&self) -> usize {
127123
self.vec.len()

0 commit comments

Comments
 (0)