Skip to content

Commit 43a456f

Browse files
committed
Fix CI
1 parent 6fa881c commit 43a456f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opentelemetry/src/global/metrics.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ static GLOBAL_METER_PROVIDER: Lazy<RwLock<GlobalMeterProvider>> =
1111

1212
/// Sets the given [`MeterProvider`] instance as the current global meter
1313
/// provider.
14-
///
14+
///
1515
/// **NOTE:** This function should be called before getting [`Meter`] instances via [`meter()`] or [`meter_with_scope()`]. Otherwise, you could get no-op [`Meter`] instances.
1616
pub fn set_meter_provider<P>(new_provider: P)
1717
where
@@ -36,7 +36,7 @@ pub fn meter_provider() -> GlobalMeterProvider {
3636
/// If the name is an empty string, the provider will use a default name.
3737
///
3838
/// This is a more convenient way of expressing `global::meter_provider().meter(name)`.
39-
///
39+
///
4040
/// **NOTE:** Calls to [`meter()`] return a [`Meter`] backed by the global [`MeterProvider`] configured during the method invocation.
4141
/// If the global [`MeterProvider`] is changed after getting [`Meter`] instances from these calls, the [`Meter`] instances returned will not reflect the change.
4242
pub fn meter(name: &'static str) -> Meter {
@@ -46,10 +46,10 @@ pub fn meter(name: &'static str) -> Meter {
4646
/// Creates a [`Meter`] with the given instrumentation scope.
4747
///
4848
/// This is a simpler alternative to `global::meter_provider().meter_with_scope(...)`
49-
///
49+
///
5050
/// **NOTE:** Calls to [`meter_with_scope()`] return a [`Meter`] backed by the global [`MeterProvider`] configured during the method invocation.
5151
/// If the global [`MeterProvider`] is changed after getting [`Meter`] instances from these calls, the [`Meter`] instances returned will not reflect the change.
52-
///
52+
///
5353
/// # Example
5454
///
5555
/// ```

0 commit comments

Comments
 (0)