Skip to content

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented May 31, 2024

This PR is a followup to #11638.

Module instances are not IDs that can be used to lookup modules; in fact, they are a direct representation of the module. (The representation of a module internally wraps a unique ID, but that's just an implementation detail.)

This PR accordingly updates various comments and variable names in module.rs to remove various places where Module instances are referred to as "IDs".

@AlexWaygood AlexWaygood changed the title red-knot: Don't refer to instances as IDs red-knot: Don't refer to Module instances as IDs May 31, 2024
@github-actions
Copy link
Contributor

github-actions bot commented May 31, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood AlexWaygood enabled auto-merge (squash) May 31, 2024 20:01
@AlexWaygood AlexWaygood merged commit d62a617 into main May 31, 2024
@AlexWaygood AlexWaygood deleted the module-rs-comments branch May 31, 2024 20:04
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.

3 participants