We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ecd7a9 commit da46b09Copy full SHA for da46b09
.gitignore
@@ -6,3 +6,4 @@
6
xcuserdata/
7
.swiftpm
8
/Package.resolved
9
+.vscode/
Sources/Tracing/SpanProtocol.swift
@@ -713,6 +713,11 @@ extension SpanAttributes {
713
public var isEmpty: Bool {
714
self._attributes.isEmpty
715
}
716
+
717
+ /// Reserves enough space to store the specified number of attributes.
718
+ public mutating func reserveCapacity(_ minimumCapacity: Int) {
719
+ self._attributes.reserveCapacity(minimumCapacity)
720
+ }
721
722
723
extension SpanAttributes {
0 commit comments