Skip to main content

stamp_new

Function stamp_new 

Source
pub fn stamp_new(
    messages: &mut [SharedMessage],
    floor: usize,
    at: DateTime<Utc>,
) -> usize
Expand description

Stamp messages[floor..] that lack a time with at, walking back from the tail and stopping at the first message that has one. Returns how many were stamped. O(new messages).