From a6a141bbe9ddfbb1e46f45880244ebf1e2b2b5bb Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 10 Dec 2022 09:26:02 -0600 Subject: [PATCH] fix doc comments in bitset types --- lib/std/bit_set.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/std/bit_set.zig b/lib/std/bit_set.zig index 3672edd7db..bc7bac81c1 100644 --- a/lib/std/bit_set.zig +++ b/lib/std/bit_set.zig @@ -220,7 +220,7 @@ pub fn IntegerBitSet(comptime size: u16) type { /// Returns the union of two bit sets. Bits in the /// result are set if the corresponding bits were set - /// in both inputs. + /// in either input. pub fn unionWith(self: Self, other: Self) Self { var result = self; result.setUnion(other); @@ -238,7 +238,7 @@ pub fn IntegerBitSet(comptime size: u16) type { /// Returns the xor of two bit sets. Bits in the /// result are set if the corresponding bits were - /// set in not the same in both inputs. + /// not the same in both inputs. pub fn xorWith(self: Self, other: Self) Self { var result = self; result.toggleSet(other); @@ -586,7 +586,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { /// Returns the union of two bit sets. Bits in the /// result are set if the corresponding bits were set - /// in both inputs. + /// in either input. pub fn unionWith(self: Self, other: Self) Self { var result = self; result.setUnion(other); @@ -604,7 +604,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { /// Returns the xor of two bit sets. Bits in the /// result are set if the corresponding bits were - /// set in not the same in both inputs. + /// not the same in both inputs. pub fn xorWith(self: Self, other: Self) Self { var result = self; result.toggleSet(other);