Skip to content

Commit

Permalink
vcf/io/writer/record/position: Inline format argument
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed May 30, 2024
1 parent 80a89b8 commit 07d8422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noodles-vcf/src/io/writer/record/position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ where
W: Write,
{
let n = position.map(usize::from).unwrap_or_default();
write!(writer, "{}", n)
write!(writer, "{n}")
}

#[cfg(test)]
Expand Down

0 comments on commit 07d8422

Please sign in to comment.