From d62f2c45835995dadbfe3a725d4201b48d40c618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kanta=20Yamaoka=20=28=E5=B1=B1=E5=B2=A1=E5=B9=B9=E5=A4=AA?= =?UTF-8?q?=29?= <49053649+kantasv@users.noreply.github.com> Date: Mon, 11 Dec 2023 01:05:11 +0900 Subject: [PATCH] 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 --- src/glossary.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glossary.md b/src/glossary.md index 203c3329..d706a984 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -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:\