Skip to content

[prism] simplify peeking logic when formatting block bodies#753

Merged
froydnj merged 1 commit intotrunkfrom
froydnj-peekable-logic
Jan 3, 2026
Merged

[prism] simplify peeking logic when formatting block bodies#753
froydnj merged 1 commit intotrunkfrom
froydnj-peekable-logic

Conversation

@froydnj
Copy link
Collaborator

@froydnj froydnj commented Jan 2, 2026

We can just look at the next node in the sequence at the head of loop, there's no need for peeking here.

@froydnj froydnj merged commit e3cac52 into trunk Jan 3, 2026
8 checks passed
@froydnj froydnj deleted the froydnj-peekable-logic branch January 3, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants