Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ca8f03f

Browse files
Update trait_checking.md
Co-authored-by: Philipp Krones <[email protected]>
1 parent 58d9c47 commit ca8f03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/development/trait_checking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl LateLintPass<'_> for CheckTokioAsyncReadExtTrait {
9494
}
9595
```
9696

97-
## Creating traits programmatically
97+
## Creating Types Programmatically
9898

9999
Traits are often generic over a type e.g. `Borrow<T>` is generic over `T`, and rust allows us to implement a trait for
100100
a specific type. For example, we can implement `Borrow<str>` for a hypothetical type `Foo`. Let's suppose that we

0 commit comments

Comments
 (0)