Skip to content

Commit 23672b1

Browse files
ewelsclaude
andcommitted
chore(simplify): drop redundant StdHashMap alias in transcriptome tests
The test module already imports `HashMap` via `use super::*` (the parent module re-exports `std::collections::HashMap`). The `StdHashMap` alias was defensive but unused. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 954bf52 commit 23672b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/quant/transcriptome.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,6 @@ fn is_splice_boundary_before(align: &Transcript, iab: usize) -> bool {
735735
#[cfg(test)]
736736
mod tests {
737737
use super::*;
738-
use std::collections::HashMap as StdHashMap;
739738

740739
fn make_genome() -> Genome {
741740
Genome {
@@ -756,7 +755,7 @@ mod tests {
756755
gene_id: &str,
757756
transcript_id: &str,
758757
) -> GtfRecord {
759-
let mut attrs: StdHashMap<String, String> = StdHashMap::new();
758+
let mut attrs = HashMap::new();
760759
attrs.insert("gene_id".to_string(), gene_id.to_string());
761760
attrs.insert("transcript_id".to_string(), transcript_id.to_string());
762761
GtfRecord {

0 commit comments

Comments
 (0)