File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -390,14 +390,6 @@ public enum MetricsSystem {
390390 return try self . lock. withWriterLock ( body)
391391 }
392392
393- /// Acquire a reader lock for the duration of the given block.
394- ///
395- /// - Parameter body: The block to execute while holding the lock.
396- /// - Returns: The value returned by the block.
397- public static func withReaderLock< T> ( _ body: ( ) throws -> T ) rethrows -> T {
398- return try self . lock. withReaderLock ( body)
399- }
400-
401393 /// `bootstrap` is an one-time configuration function which globally selects the desired metrics backend
402394 /// implementation. `bootstrap` can be called at maximum once in any given program, calling it more than once will
403395 /// lead to undefined behaviour, most likely a crash.
You can’t perform that action at this time.
0 commit comments