mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-20 17:33:31 +02:00
Add trait bounds to glossary (#1569)
Hi, this is a tiny MR to add glossary entry for "trait bound". Could you someone review it? I'm open to suggeston, too. Thank you! Context: https://github.com/google/comprehensive-rust/pull/1436#discussion_r1394298992
This commit is contained in:
parent
4a576fd436
commit
d62f2c4583
@ -149,6 +149,8 @@ Also, please keep the hard line breaks to ensure a nice formatting.
|
|||||||
The property of a program that ensures correct behavior in a multithreaded environment.
|
The property of a program that ensures correct behavior in a multithreaded environment.
|
||||||
- trait:\
|
- trait:\
|
||||||
A collection of methods defined for an unknown type, providing a way to achieve polymorphism in Rust.
|
A collection of methods defined for an unknown type, providing a way to achieve polymorphism in Rust.
|
||||||
|
- trait bound:\
|
||||||
|
An abstraction where you can require types to implement some traits of your interest.
|
||||||
- type:\
|
- type:\
|
||||||
A classification that specifies which operations can be performed on values of a particular kind in Rust.
|
A classification that specifies which operations can be performed on values of a particular kind in Rust.
|
||||||
- type inference:\
|
- type inference:\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user