mirror of
https://codeberg.org/kaasboteram/zig-iterating.git
synced 2026-02-18 21:17:04 +01:00
Use root.assert instead of std.debug.assert in adapters.Chain
This commit is contained in:
parent
b53bb564c1
commit
bb3e7ffc6c
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ pub const adapters = struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn Chain(comptime First: type, comptime Second: type) type {
|
pub fn Chain(comptime First: type, comptime Second: type) type {
|
||||||
comptime std.debug.assert(First.Item == Second.Item);
|
comptime assert(First.Item == Second.Item);
|
||||||
return struct {
|
return struct {
|
||||||
first: First,
|
first: First,
|
||||||
second: Second,
|
second: Second,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue