Switch to Rust 2024 edition (#18129)

This commit is contained in:
Micha Reiser 2025-05-16 13:25:28 +02:00 committed by GitHub
parent e67b35743a
commit 9ae698fe30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1082 changed files with 4211 additions and 3300 deletions

View file

@ -15,7 +15,7 @@ mod search;
#[cfg(test)]
mod tests {
use std::fs::{create_dir_all, File};
use std::fs::{File, create_dir_all};
use std::io::{self, Write};
use std::path::{Path, PathBuf};

View file

@ -505,7 +505,7 @@ fn pick_best_import(
best_import_so_far
} else {
new_import
}
};
}
_ => {}
}
@ -582,7 +582,7 @@ fn pick_best_import(
best_import_so_far
} else {
new_import
}
};
}
_ => {}
}