Fix order.

This commit is contained in:
Peilun Li 2024-09-13 00:41:28 +08:00
parent 6c10b90d9e
commit 0e9f1f3498

View File

@ -997,7 +997,7 @@ impl LogManager {
Box::new(iter)
} else {
// insert the remainder to the front, so the rest are processed with alignment.
let new_iter = iter.chain(vec![Self::padding_raw(remainder)].into_iter());
let new_iter = vec![Self::padding_raw(remainder)].into_iter().chain(iter);
Box::new(new_iter)
}
}