Skip to content

Simplify end calculation in stream_test.go#727

Open
udf2457 wants to merge 1 commit into
FiloSottile:mainfrom
udf2457:min-bounds
Open

Simplify end calculation in stream_test.go#727
udf2457 wants to merge 1 commit into
FiloSottile:mainfrom
udf2457:min-bounds

Conversation

@udf2457

@udf2457 udf2457 commented Jul 19, 2026

Copy link
Copy Markdown

Replace the manual clamping logic for computing the slice end bound with the built-in min function.

Replace the manual clamping logic for computing the slice end bound with the built-in `min` function.
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.

1 participant