mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-13 23:26:41 +01:00
iterator being const when not needed
This commit is contained in:
parent
67148a4aa4
commit
a595e2e895
4 changed files with 36 additions and 46 deletions
|
|
@ -32,7 +32,6 @@ impl<E: Output, A: Content<E>, B: Content<E>> Content<E> for Bsp<A, B> {
|
|||
}
|
||||
}
|
||||
try_from_expr!(<'a, E>: Bsp<RenderBox<'a, E>, RenderBox<'a, E>>: |state, iter| {
|
||||
panic!("bsp:\n{iter:#?}\n{:#?}", iter.peek());
|
||||
if let Some(Token { value: Value::Key(key), .. }) = iter.peek() {
|
||||
let iter = iter.clone().next().unwrap().1;
|
||||
match key {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue