mirror of https://github.com/sunface/rust-course
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-functionspull/1551/head
parent
e60a32f838
commit
c3791dccc4
Loading…
Reference in new issue