mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Make DynamicBitSet.iterator take self as const
This commit is contained in:
parent
011a468381
commit
fdd97244fd
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user