Skip to content

Commit a52a588

Browse files
kantasvrickyclarkson
authored andcommitted
Add trait bounds to glossary (google#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: google#1436 (comment)
1 parent 23651ad commit a52a588

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/glossary.md

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ Also, please keep the hard line breaks to ensure a nice formatting.
149149
The property of a program that ensures correct behavior in a multithreaded environment.
150150
- trait:\
151151
A collection of methods defined for an unknown type, providing a way to achieve polymorphism in Rust.
152+
- trait bound:\
153+
An abstraction where you can require types to implement some traits of your interest.
152154
- type:\
153155
A classification that specifies which operations can be performed on values of a particular kind in Rust.
154156
- type inference:\

0 commit comments

Comments
 (0)