Inline a format variable (#6007)
This commit is contained in:
parent
81846d81e0
commit
6cc38e064b
|
|
@ -86,10 +86,7 @@ fn main() -> Result<()> {
|
||||||
|
|
||||||
template_obj.entry("maxtime").or_insert_with(|| {
|
template_obj.entry("maxtime").or_insert_with(|| {
|
||||||
if time_source.uses_max_time() {
|
if time_source.uses_max_time() {
|
||||||
eprintln!(
|
eprintln!("maxtime field is missing, using curtime for maxtime: {current_time:?}");
|
||||||
"maxtime field is missing, using curtime for maxtime: {:?}",
|
|
||||||
current_time,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
current_time.timestamp().into()
|
current_time.timestamp().into()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue