pub fn keep_newest<T: Config>(n_to_keep: usize)
Expand description

Keep the newest n items, and prune all items older than that.