1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-14 01:54:50 +02:00

Update exercise.md (#2808)

The point at which the generics segment will be covered has changed
multiple times. After the last change, the 'logger trait' section was
not updated to reflect when it will now be covered. To keep it more
general, I suggest not specifying when it will be covered.
This commit is contained in:
Enes Aydın
2025-07-07 23:58:09 +03:00
committed by GitHub
parent e35f6d684d
commit d4729bfec0

View File

@ -15,8 +15,7 @@ messages above a maximum verbosity.
This is a common pattern: a struct wrapping a trait implementation and This is a common pattern: a struct wrapping a trait implementation and
implementing that same trait, adding behavior in the process. In the "Generics" implementing that same trait, adding behavior in the process. In the "Generics"
segment this afternoon, we will see how to make the wrapper generic over the segment, we will see how to make the wrapper generic over the wrapped type.
wrapped type.
```rust,compile_fail,editable ```rust,compile_fail,editable
{{#include exercise.rs:setup}} {{#include exercise.rs:setup}}