From 1e207f1edd500707032be093a5c8a91f0e16609a Mon Sep 17 00:00:00 2001 From: Mateusz Radomski Date: Sun, 16 Apr 2023 09:36:54 +0200 Subject: [PATCH] math.big.int: remove stale comments This pull request removes the optional allocator argument from functions `divFloor` and `divTrunc`. As a result, the comments related to accepting an optional `allocator` are no longer applicable. The support for accepting an optional allocator was removed in #10017. --- lib/std/math/big/int.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/std/math/big/int.zig b/lib/std/math/big/int.zig index 4e4e7c489e..aa2fbd48dd 100644 --- a/lib/std/math/big/int.zig +++ b/lib/std/math/big/int.zig @@ -935,9 +935,6 @@ pub const Mutable = struct { /// The upper bound for r limb count is `b.limbs.len`. /// The upper bound for q limb count is given by `a.limbs`. /// - /// If `allocator` is provided, it will be used for temporary storage to improve - /// multiplication performance. `error.OutOfMemory` is handled with a fallback algorithm. - /// /// `limbs_buffer` is used for temporary storage. The amount required is given by `calcDivLimbsBufferLen`. pub fn divFloor( q: *Mutable, @@ -1065,9 +1062,6 @@ pub const Mutable = struct { /// The upper bound for r limb count is `b.limbs.len`. /// The upper bound for q limb count is given by `a.limbs.len`. /// - /// If `allocator` is provided, it will be used for temporary storage to improve - /// multiplication performance. `error.OutOfMemory` is handled with a fallback algorithm. - /// /// `limbs_buffer` is used for temporary storage. The amount required is given by `calcDivLimbsBufferLen`. pub fn divTrunc( q: *Mutable,