Skip to content

Commit

Permalink
fix(doc): fix type link in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyCpp committed Aug 13, 2022
1 parent 07604f7 commit 2253fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-proto/src/transform/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pub mod tonic {

use opentelemetry::{Key, Value};

/// Convert [`Number`](opentelemetry::metrics::Number) to target type based
/// on it's [`NumberKind`](opentelemetry::metrics::NumberKind).
/// Convert [`Number`](opentelemetry::sdk::metrics::sdk_api::Number) to target type based
/// on it's [`NumberKind`](opentelemetry::sdk::metrics::sdk_api::NumberKind).
pub trait FromNumber {
fn from_number(number: Number, number_kind: &NumberKind) -> Self;
}
Expand Down

0 comments on commit 2253fa4

Please sign in to comment.