Skip to content

Commit 950b716

Browse files
committed
Correct the expected output in an example.
1 parent e819415 commit 950b716

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
@@ -1878,7 +1878,7 @@ extension BinaryInteger {
18781878
/// print(Int16.max.binaryString)
18791879
/// // Prints "0b01111111_11111111"
18801880
/// print((101 as UInt8).binaryString)
1881-
/// // Prints "0b11001001"
1881+
/// // Prints "0b01100101"
18821882
///
18831883
/// The `binaryString` implementation uses the static `bitWidth` property and
18841884
/// the right shift operator (`>>`), both of which are available to any type

0 commit comments

Comments
 (0)