Skip to content

Commit

Permalink
vcf/header/parser/record/value: Match error message map identifier fo…
Browse files Browse the repository at this point in the history
…rmat
  • Loading branch information
zaeleus committed May 31, 2024
1 parent 970bbca commit 3c5713d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noodles-vcf/src/header/parser/record/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl fmt::Display for ParseError {

write!(
f,
"{} definition mismatch for ID={id}: expected Number={:?},Type={}, got Number={:?},Type={}",
"{} definition mismatch: ID={id}: expected Number={:?},Type={}, got Number={:?},Type={}",
key::FORMAT,
expected_number, expected_type,
actual_number, actual_type,
Expand All @@ -149,7 +149,7 @@ impl fmt::Display for ParseError {

write!(
f,
"{} definition mismatch for ID={id}: expected Number={},Type={}, got Number={},Type={}",
"{} definition mismatch: ID={id}: expected Number={},Type={}, got Number={},Type={}",
key::INFO,
expected_number, expected_type,
actual_number, actual_type,
Expand Down

0 comments on commit 3c5713d

Please sign in to comment.