Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IdentityManager: from_index method is unneeded. #2424

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

jimblandy
Copy link
Member

The min_index parameter has no useful effect. Because the range 0..n is pushed
on the free list, index values less than min_index do get allocated.

Document IdentityManager and TypedId.

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Thank you! Just one note

wgpu-core/src/hub.rs Outdated Show resolved Hide resolved
wgpu-core/src/hub.rs Show resolved Hide resolved
The `min_index` parameter has no useful effect. Because the range 0..n is pushed
on the free list, index values less than `min_index` do get allocated.

Document `IdentityManager` and `TypedId`.
@kvark kvark merged commit 36ce638 into gfx-rs:master Jan 28, 2022
@jimblandy jimblandy deleted the remove-min-index branch May 13, 2022 18:22
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