Skip to content

Commit

Permalink
clean up doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Nov 25, 2023
1 parent f1154ef commit be3fc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/src/recorder/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::{error::Error, fmt};
const SET_RECORDER_ERROR: &str =
"attempted to set a recorder after the metrics system was already initialized";

/// The type returned by [`set_global_recorder`] if [`set_recorder`] has already been called.
/// Error returned when trying to install a global recorder when another has already been installed.
pub struct SetRecorderError<R>(pub R);

impl<R> SetRecorderError<R> {
Expand Down

0 comments on commit be3fc47

Please sign in to comment.