mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-18 20:39:35 +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.
|
||||
- trait:\
|
||||
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:\
|
||||
A classification that specifies which operations can be performed on values of a particular kind in Rust.
|
||||
- type inference:\
|
||||
|
Loading…
Reference in New Issue
Block a user