Satisfy clippy

This commit is contained in:
Joscha 2022-05-02 12:57:21 +02:00
parent f42cf01a15
commit 972a590ba9
3 changed files with 4 additions and 6 deletions

View file

@ -319,7 +319,7 @@ impl fmt::Display for Command {
}
impl File {
fn sort(commands: &mut Vec<&Command>) {
fn sort(commands: &mut [&Command]) {
// Order of commands in a file:
// 1. Imports, sorted alphabetically
// 2. Time zone(s)