diff --git a/Sources/IntegerUtilities/ShiftWithRounding.swift b/Sources/IntegerUtilities/ShiftWithRounding.swift index 01bf080..721c567 100644 --- a/Sources/IntegerUtilities/ShiftWithRounding.swift +++ b/Sources/IntegerUtilities/ShiftWithRounding.swift @@ -32,7 +32,7 @@ extension BinaryInteger { /// 7.shifted(rightBy: 2, rounding: .stochastically) /// /// // 4/4 is exactly 1, so this does not trap. - /// 4.shifted(rightBy: 2, rounding: .trap) + /// 4.shifted(rightBy: 2, rounding: .requireExact) /// /// // 5/2 is 2.5, which is not an integer, so this traps. /// 5.shifted(rightBy: 1, rounding: .requireExact)