Skip to content

Commit

Permalink
gff/io/writer/line/directive: Remove unnecessary call to as_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Nov 22, 2024
1 parent a42c253 commit 9b426cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noodles-gff/src/io/writer/line/directive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ where
write!(writer, "{genome_build}")?
}
DirectiveBuf::Other(key, value) => {
write_key(writer, key.as_ref())?;
write_key(writer, key)?;

if let Some(v) = value {
write_separator(writer)?;
Expand Down

0 comments on commit 9b426cd

Please sign in to comment.