diff options
| -rw-r--r-- | book/src/development/trait_checking.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/development/trait_checking.md b/book/src/development/trait_checking.md index 08a6c40e90d..dd71ce4a8b7 100644 --- a/book/src/development/trait_checking.md +++ b/book/src/development/trait_checking.md @@ -94,7 +94,7 @@ impl LateLintPass<'_> for CheckTokioAsyncReadExtTrait { } ``` -## Creating traits programmatically +## Creating Types Programmatically Traits are often generic over a type e.g. `Borrow<T>` is generic over `T`, and rust allows us to implement a trait for a specific type. For example, we can implement `Borrow<str>` for a hypothetical type `Foo`. Let's suppose that we |
