Drop a redundant Instant::now()

This commit is contained in:
Richard Feldman 2022-12-16 12:18:59 -05:00
parent c4da82cdae
commit 27fc823795
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -3388,7 +3388,7 @@ fn load_package_from_disk<'a>(
ident_ids_by_module: SharedIdentIdsByModule,
) -> Result<Msg<'a>, LoadingProblem<'a>> {
let module_start_time = Instant::now();
let file_io_start = Instant::now();
let file_io_start = module_start_time;
let read_result = fs::read(filename);
let file_io_duration = file_io_start.elapsed();