From 3c5713da48bcb854ae778408181ef808a50ff5a0 Mon Sep 17 00:00:00 2001 From: Michael Macias Date: Fri, 31 May 2024 12:53:58 -0500 Subject: [PATCH] vcf/header/parser/record/value: Match error message map identifier format --- noodles-vcf/src/header/parser/record/value.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noodles-vcf/src/header/parser/record/value.rs b/noodles-vcf/src/header/parser/record/value.rs index 7473290b6..1b20e3227 100644 --- a/noodles-vcf/src/header/parser/record/value.rs +++ b/noodles-vcf/src/header/parser/record/value.rs @@ -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, @@ -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,