authorgravatar for czipperz@gmail.comChris Gregory <czipperz@gmail.com> 2021-08-03 22:49:10-07:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2021-08-06 09:09:02+03:00
logfdd97244fda948e0033034aba8042c8fdfb5d484
tree3f098dd783a7f7d80c3b9636935e3ef6d226e831
parent011a468381a0217bff7f98817c0df593cbcc85ec

Make DynamicBitSet.iterator take self as const


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/bit_set.zig+1-1
...@@ -872,7 +872,7 @@ pub const DynamicBitSet = struct {...@@ -872,7 +872,7 @@ pub const DynamicBitSet = struct {
872 /// ascending order. Modifications to the underlying bit set may872 /// ascending order. Modifications to the underlying bit set may
873 /// or may not be observed by the iterator. Resizing the underlying873 /// or may not be observed by the iterator. Resizing the underlying
874 /// bit set invalidates the iterator.874 /// bit set invalidates the iterator.
875 pub fn iterator(self: *Self, comptime options: IteratorOptions) Iterator(options) {875 pub fn iterator(self: *const Self, comptime options: IteratorOptions) Iterator(options) {
876 return self.unmanaged.iterator(options);876 return self.unmanaged.iterator(options);
877 }877 }
878878