@@ -66,7 +66,7 @@ public final class ObservabilityScope: DiagnosticsEmitterProtocol, CustomStringC
66
66
private let parent : ObservabilityScope ?
67
67
private let metadata : ObservabilityMetadata ?
68
68
69
- private var diagnosticsHandler : DiagnosticsHanderWrapper
69
+ private var diagnosticsHandler : DiagnosticsHandlerWrapper
70
70
71
71
fileprivate init (
72
72
description: String ,
@@ -77,7 +77,7 @@ public final class ObservabilityScope: DiagnosticsEmitterProtocol, CustomStringC
77
77
self . description = description
78
78
self . parent = parent
79
79
self . metadata = metadata
80
- self . diagnosticsHandler = DiagnosticsHanderWrapper ( diagnosticsHandler)
80
+ self . diagnosticsHandler = DiagnosticsHandlerWrapper ( diagnosticsHandler)
81
81
}
82
82
83
83
public func makeChildScope( description: String , metadata: ObservabilityMetadata ? = . none) -> Self {
@@ -127,7 +127,7 @@ public final class ObservabilityScope: DiagnosticsEmitterProtocol, CustomStringC
127
127
self . diagnosticsHandler. handleDiagnostic ( scope: self , diagnostic: diagnostic)
128
128
}
129
129
130
- private struct DiagnosticsHanderWrapper : DiagnosticsHandler {
130
+ private struct DiagnosticsHandlerWrapper : DiagnosticsHandler {
131
131
private let underlying : DiagnosticsHandler
132
132
private var _errorsReported = ThreadSafeBox < Bool > ( false )
133
133
@@ -375,7 +375,7 @@ public struct Diagnostic: CustomStringConvertible {
375
375
/// Note that specific baggage and context types MAY (and usually do), offer also a way to set baggage values,
376
376
/// however in the most general case it is not required, as some frameworks may only be able to offer reading.
377
377
378
- // FIXME: we currently requires that Value conforms to CustomStringConvertible which sucks
378
+ // FIXME: we currently require that Value conforms to CustomStringConvertible which sucks
379
379
// ideally Value would conform to Equatable but that has generic requirement
380
380
// luckily, this is about to change so we can clean this up soon
381
381
public struct ObservabilityMetadata : CustomDebugStringConvertible {
0 commit comments