Skip to content

Commit 5fb5a72

Browse files
committed
Put code snippet in code voice.
Fixes <rdar://problem/65609221>.
1 parent aad4fed commit 5fb5a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/SIMDVector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ extension SIMD where Scalar: FixedWidthInteger {
770770
/// Returns the sum of the scalars in the vector, computed with wrapping
771771
/// addition.
772772
///
773-
/// Equivalent to indices.reduce(into: 0) { $0 &+= self[$1] }.
773+
/// Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`.
774774
@_alwaysEmitIntoClient
775775
public func wrappedSum() -> Scalar {
776776
return indices.reduce(into: 0) { $0 &+= self[$1] }

0 commit comments

Comments
 (0)