Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
amunra committed Dec 4, 2023
1 parent 9a68928 commit 73b31ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/encoding/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ use std::fmt::Write;
/// Encode the metrics registered with the provided [`Registry`] into the
/// provided [`Write`]r using the OpenMetrics text format.
pub fn encode<W>(writer: &mut W, registry: &Registry) -> Result<(), std::fmt::Error>
where
W: Write,
where
W: Write,
{
encode_registry(writer, registry)?;
encode_end(writer)
Expand Down

0 comments on commit 73b31ee

Please sign in to comment.