Skip to main content

fill_seconds

Function fill_seconds 

Source
pub fn fill_seconds(template: &str, secs: i64) -> String
Expand description

template with its last {n} replaced by the seconds: the one that is ours. An agent’s name earlier in it may hold {n} too; the launcher fills the same one (fill_countdown), so the first frame and the ticked ones agree.