Skip to content

Conversation

L-Super
Copy link

@L-Super L-Super commented Jul 13, 2025

All functions defined within an impl block are called associated functions because they’re associated with the type named after the impl.

https://doc.rust-lang.org/book/ch05-03-method-syntax.html#associated-functions

All functions defined within an impl block are called associated functions because they’re associated with the type named after the impl.

> https://doc.rust-lang.org/book/ch05-03-method-syntax.html#associated-functions
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