60
Announcing Rust 1.86.0 (blog.rust-lang.org)
submitted 1 week ago by neme@lemm.ee to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] INeedMana@lemmy.world 2 points 3 days ago

Thank you

So basically, it's like inheritance but for traits?

[-] livingcoder@programming.dev 2 points 3 days ago

Exactly. The functions of the super trait are also required when implementing the child trait's functions, as you would expect from inheritance.

this post was submitted on 03 Apr 2025
60 points (100.0% liked)

Rust

6766 readers
42 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS