Skip to content

Commit 0e5d186

Browse files
committed
Fixes comment for binaryString example snippet in FixedWidthInteger
1 parent 9cf75f3 commit 0e5d186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Integers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ extension BinaryInteger {
18291829
/// // Prints "0b11001001"
18301830
///
18311831
/// The `binaryString` implementation uses the static `bitWidth` property and
1832-
/// the right shift operator (`<<`), both of which are available to any type
1832+
/// the right shift operator (`>>`), both of which are available to any type
18331833
/// that conforms to the `FixedWidthInteger` protocol.
18341834
///
18351835
/// The next example declares a generic `squared` function, which accepts an

0 commit comments

Comments
 (0)