diff options
| author | Chris Gregory <czipperz@gmail.com> | 2021-08-03 22:49:10 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-08-06 09:09:02 +0300 |
| commit | fdd97244fda948e0033034aba8042c8fdfb5d484 (patch) | |
| tree | 3f098dd783a7f7d80c3b9636935e3ef6d226e831 /lib/std/bit_set.zig | |
| parent | 011a468381a0217bff7f98817c0df593cbcc85ec (diff) | |
| download | zig-fdd97244fda948e0033034aba8042c8fdfb5d484.tar.gz zig-fdd97244fda948e0033034aba8042c8fdfb5d484.zip | |
Make DynamicBitSet.iterator take self as const
Diffstat (limited to 'lib/std/bit_set.zig')
| -rw-r--r-- | lib/std/bit_set.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/bit_set.zig b/lib/std/bit_set.zig index f7339bfdcf..261c6af2df 100644 --- a/lib/std/bit_set.zig +++ b/lib/std/bit_set.zig @@ -872,7 +872,7 @@ pub const DynamicBitSet = struct { /// ascending order. Modifications to the underlying bit set may /// or may not be observed by the iterator. Resizing the underlying /// bit set invalidates the iterator. - pub fn iterator(self: *Self, comptime options: IteratorOptions) Iterator(options) { + pub fn iterator(self: *const Self, comptime options: IteratorOptions) Iterator(options) { return self.unmanaged.iterator(options); } |
