We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d9c47 commit ca8f03fCopy full SHA for ca8f03f
book/src/development/trait_checking.md
@@ -94,7 +94,7 @@ impl LateLintPass<'_> for CheckTokioAsyncReadExtTrait {
94
}
95
```
96
97
-## Creating traits programmatically
+## Creating Types Programmatically
98
99
Traits are often generic over a type e.g. `Borrow<T>` is generic over `T`, and rust allows us to implement a trait for
100
a specific type. For example, we can implement `Borrow<str>` for a hypothetical type `Foo`. Let's suppose that we
0 commit comments