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 fb9f489 commit 24c3874Copy full SHA for 24c3874
Sources/Prometheus/Docs.docc/index.md
@@ -60,7 +60,7 @@ text representation:
60
```swift
61
var buffer = [UInt8]()
62
buffer.reserveCapacity(1024) // potentially smart moves to reduce the number of reallocations
63
-registry.emit(into: buffer)
+registry.emit(into: &buffer)
64
65
print(String(decoding: buffer, as: Unicode.UTF8.self))
66
```
0 commit comments