Skip to content

Clarify sentence about associated functions.#4615

Open
photong wants to merge 1 commit into
rust-lang:mainfrom
photong:main
Open

Clarify sentence about associated functions.#4615
photong wants to merge 1 commit into
rust-lang:mainfrom
photong:main

Conversation

@photong

@photong photong commented Dec 31, 2025

Copy link
Copy Markdown

"We can define X because X doesn't need Y." is unclear. This would be equivalent to "We can define functions with no parameters because they don't need any input data.", which is confusing.

natalielpx added a commit to natalielpx/book that referenced this pull request Jul 10, 2026
Note: This targets the same sentence as open PR rust-lang#4615
However, in their change, the sentence structure remains
Refactoring the sentence will better help clarification

Current text contains structural ambiguity
where readers could either read it as
"We can ... because ..." or
“We can define ... as ...”

Replacing this with a direct statement removes the ambiguity
and provides a clearer explanation that may better aid beginners
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