From 3310ff25322af578c44903d84551e89bfdc8c9a9 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Fri, 6 Sep 2024 13:27:37 -0700 Subject: [PATCH] style: fix lints from rust 1.81.0 (#662) --- src/test_fixtures.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test_fixtures.rs b/src/test_fixtures.rs index 11bbba50..c952eb42 100644 --- a/src/test_fixtures.rs +++ b/src/test_fixtures.rs @@ -384,7 +384,7 @@ pub mod simulation { let site_not_exist = site_id_map_tables[mut_pos] == SiteId::NULL; if site_not_exist { site_id_map_tables[mut_pos] = - tables.add_site(mut_pos as f64, Some(&[b'a'])).unwrap(); + tables.add_site(mut_pos as f64, Some(b"a")).unwrap(); } // add mutation let parent_mut = site_last_mutation_tables[mut_pos]; @@ -407,7 +407,7 @@ pub mod simulation { let site_not_exist = site_id_map_tr_tbls[mut_pos] == SiteId::NULL; if site_not_exist { site_id_map_tr_tbls[mut_pos] = - tr_tbls.add_site(mut_pos as f64, Some(&[b'a'])).unwrap(); + tr_tbls.add_site(mut_pos as f64, Some(b"a")).unwrap(); } // add mutation let parent_mut = site_last_mutation_tr_tbls[mut_pos];