Skip to content

Fix typo from unit to uint - #121884

Merged
stephentoub merged 1 commit into
dotnet:mainfrom
prozolic:fixtypo
Nov 21, 2025
Merged

stephentoub merged 1 commit into
dotnet:mainfrom
prozolic:fixtypo

Conversation

@prozolic

Copy link
Copy Markdown
Contributor

Fix typo from unit to uint in comment.

Copilot AI review requested due to automatic review settings November 21, 2025 15:30
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Nov 21, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.

@stephentoub stephentoub left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@stephentoub
stephentoub enabled auto-merge (squash) November 21, 2025 15:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects a spelling error in four comment instances across three files within the frozen collections implementation. The comments explain the behavior of casting -1 to uint for boundary checking.

  • Fixed typo from "unit" to "uint" in inline comments that describe casting behavior

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
LengthBucketsFrozenSet.AlternateLookup.cs Corrected typo in comment explaining uint cast behavior (1 occurrence)
LengthBucketsFrozenDictionary.cs Corrected typo in comment explaining uint cast behavior (2 occurrences)
LengthBucketsFrozenDictionary.AlternateLookup.cs Corrected typo in comment explaining uint cast behavior (1 occurrence)

@xtqqczze

xtqqczze commented Nov 21, 2025 •

Copy link
Copy Markdown
Contributor

I found one more instance in the whole repo:

@stephentoub
stephentoub merged commit 4d109da into dotnet:main Nov 21, 2025
@prozolic
prozolic deleted the fixtypo branch November 21, 2025 21:51
stephentoub pushed a commit that referenced this pull request Nov 21, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Collections community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants