Skip to content

Refactor Fill function to accept count parameter#718

Open
dxasu wants to merge 1 commit intosamber:masterfrom
dxasu:patch-1
Open

Refactor Fill function to accept count parameter#718
dxasu wants to merge 1 commit intosamber:masterfrom
dxasu:patch-1

Conversation

@dxasu
Copy link

@dxasu dxasu commented Oct 23, 2025

Make it more concise by removing unnecessary slice assignments.

Replace the old function Fill(slice, initial) with the new function Fill(len(slice), initial), which is completely equivalent

Make it more concise by removing unnecessary slice assignments.
@samber samber added the breaking change Introduces changes that break backward compatibility or alter the public API. label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that break backward compatibility or alter the public API.

2 participants