Refactor the deque trim logic to eliminate the two separate trim functions.
1 file changed