Skip to content

Commit c1acc63

Browse files
authored
Merge branch 'main' into refactor/metrics-storage-enable-shared-names-same-type
2 parents 344293d + 24c3874 commit c1acc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Prometheus/Docs.docc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ text representation:
6060
```swift
6161
var buffer = [UInt8]()
6262
buffer.reserveCapacity(1024) // potentially smart moves to reduce the number of reallocations
63-
registry.emit(into: buffer)
63+
registry.emit(into: &buffer)
6464

6565
print(String(decoding: buffer, as: Unicode.UTF8.self))
6666
```

0 commit comments

Comments
 (0)