1
0
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:
Kanta Yamaoka (山岡幹太) 2023-12-11 01:05:11 +09:00 committed by GitHub
parent 4a576fd436
commit d62f2c4583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:\